You can retrieve all bank accounts associated with a business by making a GET request to /v1/businesses/{business_id}/bank_accounts. In addition to the account number, account type, bank name, and routing number, you can include any other user data you want to track in this call.
The response body adheres to the BankAccountsList schema. Here's an example:
[
{
"id": "ac189ad4-10b6-11ee-a8ec-0130d3df8da6",
"account_number": "1234567",
"account_type": "checking",
"bank_name": "Chase",
"routing_number": "123456789",
"user_data": {
"customerID": "123456"
}
}
]