Update bank account

put
https://api.wafeq.com/v1/bank-accounts/{id}/

Endpoint for updating an existing bank account.

Path Params
stringrequired
Query Params
string

Comma-separated related objects to return in full instead of as IDs. Accepted values: account, account.parent. Nested relations are joined with a dot.

Body Params

A bank, petty cash, or credit card account of the organization.

stringrequired

The 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.

stringrequired

The name of the bank account.

stringenumrequired

The specific type of bank account (Bank, Petty Cash, or Credit Card).

View the enum reference

Allowed:
Headers
string

Client-provided UUID to uniquely identify a request

string

The 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.

stringenumDefaults to application/json

Generated from available request content types

Allowed:
Response