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

Returns details of a BankAccount identified by V1 bank account ID.

Required permissions BANK_ACCOUNTS_READ

Path Parameters

Name Description
v1_bank_account_id
string

Required

Connect V1 ID of the desired BankAccount. For more information, see Retrieve a bank account by using an ID issued by V1 Bank Accounts API.

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/by-v1-id/{v1_bank_account_id}
cURL
  • cURL
curl https://connect.squareup.com/v2/bank-accounts/by-v1-id/{v1_bank_account_id} \
  -H 'Square-Version: 2020-03-25' \
  -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?