<- Bank Accounts API

Bank Accounts API

All versions ->

Create bank accountBeta

POST

 /v2/bank-accounts

Store a bank account on file for a square account

Permissions:BANK_ACCOUNTS_WRITE
Try in API Explorer
Link to section

Request body

Example code

Link to section

idempotency_key

string

Required

Link to section

source_id

string

Required

The ID of the source that represents the bank account information to be stored. This field accepts the payment token created by WebSDK

Link to section

customer_id

string

The ID of the customer associated with the bank account to be stored.

Link to section

Response fields

Link to section

bank_account

The 'BankAccount' that was created.

Link to section

errors

Information on errors encountered during the request.