KintsugiKintsugi

Update one bank account

PATCH/bank-details/{bank_details_id}

Updates one bank account. A field you omit keeps its stored value. A country that differs from the stored one is refused with 422. Add a new bank account for a new country. Send null to clear a field that can be empty. An empty body changes nothing, unless it carries mandateCopyId or isPrimary true. countrySpecificFields replaces all stored identifiers, so send every field the country needs. Optional isPrimary true makes this account the organization's debit account. False or omitted leaves the debit account unchanged. An API key may send isPrimary true. The response shows the last four characters of the account number and the routing number. An Owner or Admin can call this route, and an API key can too. Optional mandateCopyId records the user's acceptance of the latest mandate text with the save. It is required when the account's country is a mandate country and an identifier changes, and any other country refuses it with 400 bank_mandate_not_required. Only a user's own sign-in can send it. An API key, an impersonated session, and an automated session cannot, and a user whose Owner or Admin role no longer holds gets 403, and a provider that cannot confirm the role gets 503; retry after the Retry-After header. An impersonated session may not send isPrimary true (403). The organization is selected by Organization-Id, Connection-Id, or Entity-Id.

Authorization

Api-KeystringRequired

Your secret API key. Include it with every request.

Headers

Api-Versiondate

Release date, as YYYY-MM-DD. Defaults to 2026-07-21.

Organization-Idstring

Target organization id (Organization-Id selector).

Connection-Idstring

Target connection id; resolves to its organization.

Entity-Idstring

Platform entity id; resolves to a connection's organization.

Entity-Sourcestring

Optional source to disambiguate an Entity-Id.

Path parameters

bank_details_idstringRequired

Body

countrystring

Country of the account. It cannot change after the account is created: a different country is refused, so add a new bank account instead. Omit it or send the stored country. Null is not accepted.

bankNamestring

Name of the bank. Send null to clear it.

accountNumberstring

Bank account number. Send null to clear it.

routingNumberstring

Bank routing number. Send null to clear it.

accountTypePublicBankAccountTypeEnum

Account type. Send null to clear it.

Available options:CHECKINGSAVINGS
accountHolderNamestring

Name on the account. Send null to clear it.

accountHolderTypePublicBankAccountHolderTypeEnum

Whether the account belongs to an individual or a business. Send null to clear it.

Available options:INDIVIDUALBUSINESS
isPrimaryboolean

When true, makes this account the organization's debit account. False or omitted leaves the debit account unchanged.

countrySpecificFieldsCountrySpecificFields

The account's identifiers for a country other than the US. Replaces all stored identifiers, so send every field the country needs. Omit it to keep them. Null is not accepted.

mandateCopyIdstring

The id of the latest mandate text, which the user accepted. Required when an identifier of a mandate country account changes. Resending a copy the account accepted is safe. A country with no mandate refuses it with 400 bank_mandate_not_required. Never for an API key. A person's null changes nothing.

Response

idstringRequired

Opaque identifier of the bank-details record.

countrystringRequired

Country of the account.

bankNamestring

Name of the bank; an empty string when not captured.

accountNumberLast4stringRequired

Last four characters of the account number, or null when not captured.

accountTypePublicBankAccountTypeEnumRequired

Account type, or null when not captured.

Available options:CHECKINGSAVINGS
accountHolderNamestring

Name on the account; an empty string when not captured.

accountHolderTypePublicBankAccountHolderTypeEnumRequired

Whether the account belongs to an individual or a business, or null when not captured.

Available options:INDIVIDUALBUSINESS
routingNumberLast4stringRequired

Last four characters of the routing number, or null when not captured.

countrySpecificFieldsCanadaBankFieldsMasked | UkBankFieldsMasked | SepaBankFieldsMasked | AustraliaBankFieldsMasked | NewZealandBankFieldsMasked | MexicoBankFieldsMasked | UsBankFieldsMaskedRequired

The account's own identifiers, each masked to its last four characters, or null when none are captured yet.

isPrimarybooleanRequired

True when this account is the organization's debit account.

200

Successful Response

400

The request was invalid.

401

Authentication failed or was missing.

403

The credential is not permitted for this request.

404

The requested resource was not found.

422

The request failed validation.

503

The server cannot save bank details right now. Another save of the account may still be running, or the sign-in provider could not confirm the user's role for mandateCopyId. Retry after the Retry-After header when present, and contact support if it persists.

cURL
PATCH /bank-details/{bank_details_id}
-H "Api-Key: ***"
-H "Api-Version: 2026-12-03"
{
"country": "US",
"bankName": "First National Bank",
"accountNumber": "000123456789",
"routingNumber": "110000000",
"accountType": "CHECKING",
"accountHolderName": "Acme, Inc.",
"accountHolderType": "INDIVIDUAL",
"isPrimary": false,
"countrySpecificFields": {
"institutionNumber": "003",
"transitNumber": "12345",
"accountNumber": "1234567",
"sortCode": "60-16-13",
"iban": "DE89 3704 0044 0532 0130 00",
"bic": "COBADEFFXXX",
"bsb": "062-000",
"clabe": "032180000118359719"
},
"mandateCopyId": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10"
}
Example request
https://api.trykintsugi.com/bank-details/{bank_details_id}
Response
{
"id": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"country": "US",
"bankName": "First National Bank",
"accountNumberLast4": "6789",
"accountType": "CHECKING",
"accountHolderName": "Acme, Inc.",
"accountHolderType": "INDIVIDUAL",
"routingNumberLast4": "0000",
"countrySpecificFields": {
"type": "CA",
"institutionNumberLast4": "institution number last4",
"transitNumberLast4": "transit number last4",
"accountNumberLast4": "account number last4"
},
"isPrimary": false
}
Update one bank account (2026-12-03) | Kintsugi API Reference