Get bank account
GET
/v2/bank-accounts/{bank_account_id}
Returns details of a BankAccount linked to a Square account.
Name | Description |
---|---|
bank_
Required
|
Square-issued ID of the desired |
Response Fields
Name | Description |
---|---|
errors
|
Information on errors encountered during the request. |
bank_
|
The requested |
Examples
GET
/v2/bank-accounts/{bank_account_id}
cURL
- cURL
- Ruby
- Python
- C#
- Java
- PHP
- Node.js
curl https://connect.squareup.com/v2/bank-accounts/w3yRgCGYQnwmdl0R3GB \
-H 'Square-Version: 2023-01-19' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json'
Response JSON
{
"bank_account": {
"id": "w3yRgCGYQnwmdl0R3GB",
"account_number_suffix": "971",
"country": "US",
"currency": "USD",
"account_type": "CHECKING",
"holder_name": "Jane Doe",
"primary_bank_identification_number": "112200303",
"location_id": "S8GWD5example",
"status": "VERIFICATION_IN_PROGRESS",
"creditable": false,
"debitable": false,
"version": 5,
"bank_name": "Bank Name"
}
}