POST
/
wallets
/
{wallet_id}
/
accounts
curl --request POST \
  --url https://api.live.paisr.tech/{version}/wallets/{wallet_id}/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account_holder": "<string>",
  "account_number": "<string>",
  "account_type": "checking",
  "swift_code": "<string>",
  "currency": "<string>"
}'
{
  "success": true,
  "data": {
    "id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

wallet_id
string
required

The Wallet ID.

Body

application/json
The details required to connect a bank account.
account_holder
string
required

Full account holder name.

account_number
string
required

Full account number / IBAN.

account_type
enum<string>
required

Type of account.

Available options:
checking,
saving
Example:

"checking"

swift_code
string
required

Bank Swift/BIC.

currency
string
required

Currency code in ISO 4217 format.

Required string length: 3

Response

200
application/json
Successfully created wallet account.
success
boolean
default:true

Indicates if the request was successful.

data
object