KintsugiKintsugi

Create bank account

POST/bank-details

Adds one bank account for the organization. The first account becomes the debit account, and a later one does not replace it unless the request sends isPrimary true. The response masks the account and routing numbers to their last four characters. For a country other than the US, send the account's identifiers in countrySpecificFields instead of accountNumber and routingNumber. A country that debits under a mandate also needs mandateCopyId, 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. If the sign-in provider cannot confirm the role, the route answers 503; retry after the Retry-After header. An impersonated session may not send isPrimary true (403). An Owner or Admin can call this route, and an API key can too. 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.

Body

countrystringRequired

Country of the account.

bankNamestring

Name of the bank.

accountNumberstring

Bank account number.

routingNumberstring

Bank routing number.

accountTypePublicBankAccountTypeEnum

Account type.

Available options:CHECKINGSAVINGS
accountHolderNamestring

Name on the account.

accountHolderTypePublicBankAccountHolderTypeEnum

Whether the account belongs to an individual or a business.

Available options:INDIVIDUALBUSINESS
countrySpecificFieldsCountrySpecificFields

The account's identifiers for a country other than the US. Required for those countries and not accepted for the US.

isPrimaryboolean

When true, makes this account the organization's debit account. False or omitted leaves the debit account unchanged, and the first account becomes the debit account either way. An API key may not send it. Cannot be null.

mandateCopyIdstring

The id of the latest mandate text for the account's country, which the user accepted. Required for a mandate country. Any other country 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.

201

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.

409

The request conflicts with existing state.

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
POST /bank-details
-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",
"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"
},
"isPrimary": false,
"mandateCopyId": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10"
}
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
}
Create bank account (2026-12-03) | Kintsugi API Reference