• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
Get bank account

GET /v2/bank-accounts/{bank_account_id}

Returns details of a BankAccount linked to a Square account.


Permissions
BANK_ACCOUNTS_READ
Guide
Retrieve a bank account by ID
Try in API Explorer
Name Description
bank_account_id
string

Required

Square-issued ID of the desired BankAccount.

Response Fields

Name Description
errors
Error [ ]

Information on errors encountered during the request.

bank_account
BankAccount

The requested BankAccount object.

Examples

You are viewing an old version of the API
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: 2020-11-18' \
  -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"
  }
}

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?