Create Bank Account

This page will guide you on how to create a new Bank Account.

Request for new bank account:

curl --location --request POST 'https://sandbox.openpayd.com/api/accounts' \
--header 'X-ACCOUNT-HOLDER-ID: 570de05f-2517-4b5e-aa2c-b8abacf13d00' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <access_token>' \
--data-raw '{
    "currency":"EUR",
    "transactionCategory":"OTHER",
    "friendlyName":"My EUR Account"
}'

Response on successful bank account creation:

{
  "id": "cWc4SktyWlkxM0hwcmdYe6FMdXRSQT09",
  "createdOn": "2020-03-11T11:51:35.138Z",
  "status": "PENDING",
  "actualBalance": {
    "value": 0.00,
    "currency": "EUR"
  },
  "availableBalance": {
    "value": 0.00,
    "currency": "EUR"
  },
  "internalAccountId": "EUR10172739387826",
  "transactionCategory": "OTHER",
  "accountType": "USER",
  "friendlyName": "My EUR Account"
}
  • internalAccountId: internal account identifier
  • status: account status (possible values are PENDING, ACTIVE, FAILED, SUSPENDED, CLOSED)