Get bank account by V1 id
GET
/v2/bank-accounts/by-v1-id/{v1_bank_account_id}
Returns details of a BankAccount identified by V1 bank account ID.
Name | Description |
---|---|
v1_
Required
|
Connect V1 ID of the desired |
Response Fields
Name | Description |
---|---|
errors
|
Information on errors encountered during the request. |
bank_
|
The requested |
Examples
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_id0 \
-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"
}
}