Skip to main content
POST
Register a bank account
Registration does three things in one call: it confirms the account number with the bank, stores the account against your business, and derives the on-chain address that pays it. The call is idempotent per bank account. If the same bank code and account number have already been registered — by you or by anyone else on Paj — the existing record is returned unchanged, with the same address. There is no error and no duplicate.
Confirmation is a live call to the banking rail, so this endpoint is slower than the other two. Register accounts ahead of time rather than in a hot path like a checkout screen.
Use the returned accountName — it comes from the bank, not from your input — to let the user confirm they typed the right account number before you show them an address to pay. See Bank account addresses for what happens once funds reach the address.

Authorizations

x-api-key
string
header
required

Body

application/json
bankCode
string
required

Bank's code

Example:

"000016"

accountNumber
string
required

User's bank account number

Example:

"0025635480"

Response

The registered bank account

id
string
required

id

Example:

"someRANDOMid"

accountName
string
required

User's bank acount name

Example:

"John Doe"

accountNumber
string
required

User's bank account number

Example:

"0025635480"

bank
string
required

Bank name

Example:

"First Bank"

address
string
required

Bank Account Address

Example:

"FsXpXq8wVTM13NDXxrf2X6PpgJWg9jCxRVuHhtfnojUa"