Bank Accounts

Create a bank account for a customer or account using a processor token (e.g. from Plaid).


Create bank account

Create a bank account for a customer or account using a processor token (e.g. from Plaid).

Body parameters
processorstring

Processor name (e.g. plaid)

processor_tokenstring

Token from the processor (e.g. Plaid public token)

customer_idnullable stringoptional

Customer ID to attach the bank account to (mutually exclusive with account_id)

account_idnullable stringoptional

Account ID to attach the bank account to (mutually exclusive with customer_id)

Returns

Bank account created successfully

POST/v1/bank_accounts
curl --request POST \
  --url https://api.framepayments.com/v1/bank_accounts \
  --header 'Authorization: Bearer API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "processor": "plaid",
  "processor_token": null
}'
RESPONSE
{
  "id": "29c86c40-daf7-4891-b4bc-25f5a56ae2af",
  "routing_number": "021000021",
  "account_number_last_4": "4242",
  "account_type": "checking",
  "bank_name": null,
  "processor_name": "plaid",
  "status": "pending",
  "object": "bank_account",
  "customer_id": "5489ea49-8074-4ea8-bb6e-3596258fa570",
  "account_id": null,
  "created": 1781115863,
  "updated": 1781115863,
  "livemode": false
}