curl --request PUT \
  --url https://api.dots.dev/api/v2/apps/{app_id}/ach-account \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account_number": "<string>",
  "routing_number": "<string>",
  "account_type": "checking"
}'
{
  "mask": "<string>",
  "name": "<string>"
}

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

app_id
string
required

The ID of the app.

Body

application/json
account_number
string
required

The bank account number.

routing_number
string
required

The bank's ABA routing number.

account_type
enum<string>
required

The type of bank account.

Available options:
checking,
savings

Response

200 - application/json
mask
string

The last four digits of the bank account number.

name
string

The name of the bank account.