Skip to content

Square: Bank accounts schemas

7 Square schemas with complete fields and constraints.

← Bank accounts operations · All schemas

Create Bank Account — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest object for linking a bank account to a Square account
customer_idstringOptionalThe ID of the customer associated with the bank account to be stored.
idempotency_keystringRequired within parentUnique ID. For more information, see the
[Idempotency](https://developer.squareup.com/docs/working-with-apis/idempotency).
source_idstringRequired within parentThe ID of the source that represents the bank account information to be stored. This field
accepts the payment token created by WebSDK

Create Bank Account — response body

FieldTypePresenceDescription and constraints
$objectRootResponse object returned by CreateBankAccount.
bank_accountModelOptionalExpand Get Bank Account — response body — bank account
The 'BankAccount' that was created.
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Bank Account — response body — bank account, Get Shift — response body — errors item

Disable Bank Account — response body

FieldTypePresenceDescription and constraints
$objectRootResponse object returned by `DisableBankAccount`.
bank_accountModelOptionalExpand Get Bank Account — response body — bank account
The disabled 'BankAccount'
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Bank Account — response body — bank account, Get Shift — response body — errors item

Get Bank Account By V1 Id — response body

FieldTypePresenceDescription and constraints
$objectRootResponse object returned by GetBankAccountByV1Id.
bank_accountModelOptionalExpand Get Bank Account — response body — bank account
The requested `BankAccount` object.
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Bank Account — response body — bank account, Get Shift — response body — errors item

Get Bank Account — response body

FieldTypePresenceDescription and constraints
$objectRootResponse object returned by `GetBankAccount`.
bank_accountModelOptionalExpand Get Bank Account — response body — bank account
The requested `BankAccount` object.
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Bank Account — response body — bank account, Get Shift — response body — errors item

Get Bank Account — response body — bank account

FieldTypePresenceDescription and constraints
$objectRootRepresents a bank account. For more information about
linking a bank account to a Square account, see
[Bank Accounts API](https://developer.squareup.com/docs/bank-accounts-api).
account_number_suffixstringRequired within parentThe last few digits of the account number.
Minimum length: 1
account_typestringRequired within parentIndicates the financial purpose of the bank account.
The financial purpose of the associated bank account.
See [BankAccountType](#type-bankaccounttype) for possible values
Known values: CHECKING, SAVINGS, INVESTMENT, OTHER, BUSINESS_CHECKING
bank_nameJSONOptional
bank_name (anyOf 1)stringAlternativeRead only. Name of actual financial institution.
For example "Bank of America".
Maximum length: 100
bank_name (anyOf 2)nullAlternative
countryModelRequired within parentExpand Create Location — response body — location country
The ISO 3166 Alpha-2 country code where the bank account is based.
See [Country](#type-country) for possible values
creditablebooleanRequired within parentIndicates whether it is possible for Square to send money to this bank account.
currencyModelRequired within parentExpand Create Location — response body — location currency
The 3-character ISO 4217 currency code indicating the operating
currency of the bank account. For example, the currency code for US dollars
is `USD`.
See [Currency](#type-currency) for possible values
customer_idstringOptionalThe ID of the customer who owns the bank account
Read only: true
debit_mandate_reference_idJSONOptional
debit_mandate_reference_id (anyOf 1)stringAlternativeReference identifier that will be displayed to UK bank account owners
when collecting direct debit authorization. Only required for UK bank accounts.
debit_mandate_reference_id (anyOf 2)nullAlternative
debitablebooleanRequired within parentIndicates whether it is possible for Square to take money from this
bank account.
fingerprintJSONOptional
fingerprint (anyOf 1)stringAlternativeA Square-assigned, unique identifier for the bank account based on the
account information. The account fingerprint can be used to compare account
entries and determine if the they represent the same real-world bank account.
fingerprint (anyOf 2)nullAlternative
holder_namestringRequired within parentName of the account holder. This name must match the name
on the targeted bank account record.
Minimum length: 1
idstringRequired within parentThe unique, Square-issued identifier for the bank account.
Maximum length: 30
Minimum length: 1
location_idJSONOptional
location_id (anyOf 1)stringAlternativeThe location to which the bank account belongs.
location_id (anyOf 2)nullAlternative
primary_bank_identification_numberstringRequired within parentPrimary identifier for the bank. For more information, see
[Bank Accounts API](https://developer.squareup.com/docs/bank-accounts-api).
Maximum length: 40
reference_idJSONOptional
reference_id (anyOf 1)stringAlternativeClient-provided identifier for linking the banking account to an entity
in a third-party system (for example, a bank account number or a user identifier).
reference_id (anyOf 2)nullAlternative
secondary_bank_identification_numberJSONOptional
secondary_bank_identification_number (anyOf 1)stringAlternativeSecondary identifier for the bank. For more information, see
[Bank Accounts API](https://developer.squareup.com/docs/bank-accounts-api).
Maximum length: 40
secondary_bank_identification_number (anyOf 2)nullAlternative
statusstringRequired within parentIndicates the current verification status of a `BankAccount` object.
Read-only. The current verification status of this BankAccount object.
See [BankAccountStatus](#type-bankaccountstatus) for possible values
Known values: VERIFICATION_IN_PROGRESS, VERIFIED, DISABLED
versionJSONOptional
version (anyOf 1)integerAlternativeThe current version of the `BankAccount`.
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create Location — response body — location country, Create Location — response body — location currency

List Bank Accounts — response body

FieldTypePresenceDescription and constraints
$objectRootResponse object returned by ListBankAccounts.
bank_accountsarrayOptionalList of BankAccounts associated with this account.
bank_accounts[]ModelEach itemExpand Get Bank Account — response body — bank account
cursorstringOptionalWhen a response is truncated, it includes a cursor that you can
use in a subsequent request to fetch next set of bank accounts.
If empty, this is the final response.

For more information, see [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination).
errorsarrayOptionalInformation on errors encountered during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Bank Account — response body — bank account, Get Shift — response body — errors item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.