Accounts

postAccounts

POST
/accounts

Create an account, representing a bank account, to associate bank information with an Entity.

Authorization

APIKEY<token>

In: header

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Add Bank Account Request

Add Bank Account Request

entity*string

The identifier of the Entity associated with this Account.

account*

An object representing details of the Account, including the type of Account (method), Account number, and routing code.

name?string

A client-supplied name for this bank account. This field is stored as a string and must be between 0 and 100 characters long.

description?string

A client-supplied description for this bank account. This field is stored as a string and must be between 0 and 100 characters long.

primary?accountPrimary

Indicates whether the Account is the primary Account for the associated Entity. Only one Account associated with each Entity can be the primary Account.

  • 0 - Not primary
  • 1 - Primary

Value in

  • 0
  • 1
type?accountType

The type of financial account: debit, credit, or both.

  • all - Debit/checking and credit
  • credit - Credit only
  • debit - Debit/checking only

Value in

  • "all"
  • "credit"
  • "debit"
status?accountStatus

The status of the Account.

  • 0 - Not Ready.
  • 1 - Ready.
  • 2 - Challenged.
  • 3 - Verified.
  • 4 - Manual.

Value in

  • 0
  • 1
  • 2
  • 3
  • 4
expiration?string

The expiration date of the related debit account. The date is specified as a four-digit string in MMYY format, for example, 0118 for January 2018.

currency*|
publicToken?string

The token received from the Plaid account connection process.

mask?string

The account number mask, showing the last four digits of the account number.

inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1
payouts?array<>

Response Body

application/json

application/json

curl -X POST "https://example.com/accounts" \  -H "Content-Type: application/json" \  -d '{    "entity": "t1_ent_5a1pf5a1234531155a12345",    "primary": 1,    "name": "Bank Account Name",    "description": "Bank account description",    "account": {      "method": 8,      "routing": "1",      "number": "2"    },    "currency": "USD",    "type": "all",    "status": 1,    "expiration": "0118",    "publicToken": "public-test-a12eeba1-1234-4567-af1g-d80cc1bfd713",    "mask": "2345",    "inactive": 0,    "frozen": 0  }'
{  "response": {    "data": [      {        "id": "t1_act_67a18bcde1a1b2ec3d9c9az",        "created": "2025-01-31 08:42:16.7318",        "modified": "2025-01-31 08:42:16.7318",        "creator": "t1_log_0092b50e8812b18e41d511s",        "modifier": "t1_log_0092b50e8812b18e41d511s",        "entity": "t1_ent_67a18bcde1a1b2ec3d9c9az",        "account": {          "id": "t1_pmt_67a18bcde1a1b2ec3d9c9az",          "method": 10,          "number": "9876",          "routing": "1234"        },        "token": "1dc2304a56783be9f31001459981abab",        "name": "Bank Account Non-Primary",        "description": "Test merchant 9af2d883c7b2c",        "primary": 0,        "type": "all",        "status": 0,        "reserved": 0,        "checkStage": "createAccount",        "expiration": "",        "inactive": 0,        "currency": "USD",        "frozen": 0,        "publicToken": "public-test-a12eeba1-1234-4567-af1g-d80cc1bfd713",        "mask": "2345",        "plaidAccountId": "aK6w4rjrdrIEAcPKp3KyABkaz5NordiRRkbzBP",        "updateMethod": "NOC"      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}