Partially update a bank account
Updates a bank account field by field. Only the fields present in the request are changed; the others keep their current values.
When iban is included it must stay unique across all accounts, as described under Update a bank account.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the bank account.
The body of a bank account partial update request. Only the fields included in the body are changed; every field is optional.
The identifier of the bank the account belongs to.
The unique reference of the account.
The name of the account holder.
The IBAN of the account. When included, must stay unique across all accounts.
Whether the account is active.
The position used to order accounts.
A free-text note.
The updated bank account.
A bank transfer account.
The unique identifier of the bank account.
The identifier of the bank the account belongs to.
The unique reference of the account.
The name of the account holder.
The IBAN of the account. Unique across all accounts.
Whether the account is active. A soft-deleted account has this set to false.
The position used to order accounts.
A free-text note, or null when none is stored.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested bank account does not exist.
The request is well-formed but an account with the given IBAN already exists (bank_account_100). Both create and update raise this when the IBAN would collide with another account, including a soft-deleted one.
PATCH /api/v1/remote/1/bank_accounts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"holder_name": "Example Company Ltd."
}{
"pk": 7,
"bank": 12,
"slug": "example-bank-main",
"holder_name": "Example Company Inc.",
"iban": "TR330006100519786457841326",
"is_active": true,
"sort_order": 0,
"description": "Main collection account"
}Last updated
Was this helpful?

