Square: Bank accounts schemas
7 Square schemas with complete fields and constraints.
← Bank accounts operations · All schemas
Create Bank Account — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Request object for linking a bank account to a Square account |
customer_id | string | Optional | The ID of the customer associated with the bank account to be stored. |
idempotency_key | string | Required within parent | Unique ID. For more information, see the [Idempotency](https://developer.squareup.com/docs/working-with-apis/idempotency). |
source_id | string | Required within parent | The 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Response object returned by CreateBankAccount. |
bank_account | Model | Optional | Expand Get Bank Account — response body — bank account The 'BankAccount' that was created. |
errors | array | Optional | Information on errors encountered during the request. |
errors[] | Model | Each item | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Response object returned by `DisableBankAccount`. |
bank_account | Model | Optional | Expand Get Bank Account — response body — bank account The disabled 'BankAccount' |
errors | array | Optional | Information on errors encountered during the request. |
errors[] | Model | Each item | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Response object returned by GetBankAccountByV1Id. |
bank_account | Model | Optional | Expand Get Bank Account — response body — bank account The requested `BankAccount` object. |
errors | array | Optional | Information on errors encountered during the request. |
errors[] | Model | Each item | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Response object returned by `GetBankAccount`. |
bank_account | Model | Optional | Expand Get Bank Account — response body — bank account The requested `BankAccount` object. |
errors | array | Optional | Information on errors encountered during the request. |
errors[] | Model | Each item | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents 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_suffix | string | Required within parent | The last few digits of the account number. Minimum length: 1 |
account_type | string | Required within parent | Indicates 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_name | JSON | Optional | |
bank_name (anyOf 1) | string | Alternative | Read only. Name of actual financial institution. For example "Bank of America". Maximum length: 100 |
bank_name (anyOf 2) | null | Alternative | |
country | Model | Required within parent | Expand 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 |
creditable | boolean | Required within parent | Indicates whether it is possible for Square to send money to this bank account. |
currency | Model | Required within parent | Expand 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_id | string | Optional | The ID of the customer who owns the bank account Read only: true |
debit_mandate_reference_id | JSON | Optional | |
debit_mandate_reference_id (anyOf 1) | string | Alternative | Reference 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) | null | Alternative | |
debitable | boolean | Required within parent | Indicates whether it is possible for Square to take money from this bank account. |
fingerprint | JSON | Optional | |
fingerprint (anyOf 1) | string | Alternative | A 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) | null | Alternative | |
holder_name | string | Required within parent | Name of the account holder. This name must match the name on the targeted bank account record. Minimum length: 1 |
id | string | Required within parent | The unique, Square-issued identifier for the bank account. Maximum length: 30 Minimum length: 1 |
location_id | JSON | Optional | |
location_id (anyOf 1) | string | Alternative | The location to which the bank account belongs. |
location_id (anyOf 2) | null | Alternative | |
primary_bank_identification_number | string | Required within parent | Primary identifier for the bank. For more information, see [Bank Accounts API](https://developer.squareup.com/docs/bank-accounts-api). Maximum length: 40 |
reference_id | JSON | Optional | |
reference_id (anyOf 1) | string | Alternative | Client-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) | null | Alternative | |
secondary_bank_identification_number | JSON | Optional | |
secondary_bank_identification_number (anyOf 1) | string | Alternative | Secondary 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) | null | Alternative | |
status | string | Required within parent | Indicates 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 |
version | JSON | Optional | |
version (anyOf 1) | integer | Alternative | The current version of the `BankAccount`. |
version (anyOf 2) | string | Alternative | Pattern: ^-?[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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Response object returned by ListBankAccounts. |
bank_accounts | array | Optional | List of BankAccounts associated with this account. |
bank_accounts[] | Model | Each item | Expand Get Bank Account — response body — bank account |
cursor | string | Optional | When 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). |
errors | array | Optional | Information on errors encountered during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
Referenced models: Get Bank Account — response body — bank account, Get Shift — response body — errors item