Copy PageUpdate bank accountputhttps://api.wafeq.com/v1/bank-accounts/{id}/Endpoint for updating an existing bank account.Path ParamsidstringrequiredQuery ParamsexpandstringComma-separated related objects to return in full instead of as IDs. Accepted values: account, account.parent. Nested relations are joined with a dot.Body Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA bank, petty cash, or credit card account of the organization.currencystringrequiredThe currency used for this bank account. A change is refused once its ledger account has journal lines, and while a document line not yet posted uses the bank account in its current currency.namestringrequiredThe name of the bank account.sub_classificationstringenumrequiredThe specific type of bank account (Bank, Petty Cash, or Credit Card). View the enum referenceBANKPETTY_CASHCREDIT_CARDAllowed:BANKPETTY_CASHCREDIT_CARDHeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestX-Wafeq-OrganizationstringThe id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.content-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse200Updated about 2 months agoPartial update bank accountList bank ledger transactions