Manage Bank Accounts

A bank account must be added to a business for withdrawing from the Treasure account, done via the POST /v1/businesses/{business_id}/bank_accounts endpoint. The request returns a bank account ID to be used in subsequent calls:

{
  "id": "09acfbdc-4f30-11ee-a4b6-13bb140afaf7",
  "account_number": "1234567",
  "account_type": "checking",
  "bank_name": "Chase",
  "routing_number": "399273118",
  "user_data": {
    "customerID": 123456
  }
}

Note that when creating or updating a bank account, a custom user_data object may be specified with arbitrary additional data, useful for purposes like correlating a bank account with an external identifier.

Businesses can each have multiple associated bank accounts.

Additional endpoints are provided for viewing all bank accounts for a business and viewing a single bank account by ID.