Bank accounts

Add the accounts a business is paid into and pays its fees from

A bank account is where a business is paid into, where Priority takes its fees from, or both. One account can serve more than one purpose. Accounts belong to the business, not to a location, so every location settles through the business's accounts. Add at least one account before underwriting, the review Priority runs before it can approve the business. For the full field list, jump to the Request reference.

Common use cases

  • Add the funding account where settled card sales land. See Scenario 1.

Scenarios

A bank account is written in full and read back with the account number masked. You send the real accountNumber; PCE returns only its last four digits as accountNumberLast4. The routing number is returned in full.

Before you begin (all scenarios)

  • You have a sandbox API key. See Getting started.
  • You have the businessId of the business you're adding the account to.
  • You have the full account number and the nine-digit routing number.
  • You set a unique externalId for safe retries.

Scenario 1: Add a bank account

Make a POST request to /v1/businesses/{businessId}/bank-accounts. This account both receives the business's card settlements and pays its fees.

curl -X POST https://sandbox-api.prioritycommerce.com/v1/businesses/{businessId}/bank-accounts \
  -H "x-api-key: <your-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "externalId": "example-funding-1",
    "purposes": ["funding", "billing"],
    "accountType": "checking",
    "accountNumber": "000123456789",
    "routingNumber": "000000000",
    "bankName": "Example Bank",
    "countryCode": "US",
    "isPrimary": true
  }'

Response: 201 Created.

{
  "id": "ba_5e9c21",
  "uri": "/v1/businesses/{businessId}/bank-accounts/ba_5e9c21",
  "externalId": "example-funding-1",
  "purposes": ["funding", "billing"],
  "accountNumberLast4": "6789",
  "routingNumber": "000000000",
  "accountType": "checking",
  "bankName": "Example Bank",
  "countryCode": "US",
  "isPrimary": true,
  "createdAt": "2026-06-15T09:00:00Z",
  "updatedAt": "2026-06-15T09:00:00Z"
}

Store the id. PCE masks the account number to accountNumberLast4 and returns the routing number in full, so keep your own record of the full account number. See Data handling and compliance.

Manage bank accounts

📘 Base path shorthand

In the table, ... is shorthand for the business base path /v1/businesses/{businessId}. For example, .../bank-accounts is /v1/businesses/{businessId}/bank-accounts.

Request reference

FieldRequiredDescription
accountNumberYesThe account number, 4 to 17 digits. Stored securely and returned only as accountNumberLast4.
routingNumberYesThe nine-digit ABA routing number.
accountTypeYeschecking or savings.
bankNameYesThe name of the bank, up to 255 characters.
purposesRecommendedWhat the account is used for: funding (receives settled card sales), billing (pays fees) or settlement (used when you don't send a purpose). An account can have more than one.
externalIdRecommendedYour own reference for the account, up to 255 characters.
countryCodeNoThe bank's country, as a two-letter ISO 3166-1 code. Defaults to US.
isPrimaryNotrue for the business's main account.

Next steps

See also


Did this page help you?