v1

latestOpenAPI 3.1.12026-07-24260246894.7 KB
Bank Accounts

Update bank account

Endpoint for updating an existing bank account.

put/bank-accounts/{id}/

Path parameters

idstring required

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

accountstring required

The associated account for this bank account.

classificationstring required

The classification of the bank account (e.g., Asset).

created_tsstring date-time required

The timestamp in UTC when the bank account was created

currencystring required

The currency used for this bank account.

idstring required

The unique identifier of the bank account.

legacy_idstring required

[Deprecated] The legacy identifier of the bank account.

modified_tsstring date-time required

The timestamp in UTC when the bank account was last modified

namestring required

The name of the bank account.

sub_classification'BANK' | 'PETTY_CASH' | 'CREDIT_CARD' required
  • BANK - BANK
  • PETTY_CASH - PETTY_CASH
  • CREDIT_CARD - CREDIT_CARD

Full information for BankAccountSubClassificationEnum

Response

accountstring required

The associated account for this bank account.

classificationstring required

The classification of the bank account (e.g., Asset).

created_tsstring date-time required

The timestamp in UTC when the bank account was created

currencystring required

The currency used for this bank account.

idstring required

The unique identifier of the bank account.

legacy_idstring required

[Deprecated] The legacy identifier of the bank account.

modified_tsstring date-time required

The timestamp in UTC when the bank account was last modified

namestring required

The name of the bank account.

sub_classification'BANK' | 'PETTY_CASH' | 'CREDIT_CARD' required
  • BANK - BANK
  • PETTY_CASH - PETTY_CASH
  • CREDIT_CARD - CREDIT_CARD

Full information for BankAccountSubClassificationEnum