Register a bank account
Bank accounts
Register a bank account
Registers a bank account for the API key’s business using a bank code and account number. The account is confirmed with the provider and an on-chain address is assigned. If the account already exists it is returned as-is.
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.
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
Body
application/json
Response
The registered bank account
id
Example:
"someRANDOMid"
User's bank acount name
Example:
"John Doe"
User's bank account number
Example:
"0025635480"
Bank name
Example:
"First Bank"
Bank Account Address
Example:
"FsXpXq8wVTM13NDXxrf2X6PpgJWg9jCxRVuHhtfnojUa"