Skip to main content
POST
/
gateway
/
create-domiciliary-bank-account
Create Domiciliary Account with Account Number
curl --request POST \
  --url https://api.stag.songhaiexchange.io/gateway/create-domiciliary-bank-account \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "requestDTO": [
    {
      "country": "NGA",
      "existingAccountBankCode": "214",
      "existingAccountCurrencyCode": "NGN",
      "existingBankAccountNumber": "0053633074NGN",
      "newAccountCurrencyCode": "USD"
    }
  ]
}
'
{
  "dormAccountResponseDTO": [
    {
      "createdAccountNumber": "<string>",
      "existingBankAccountNumber": "<string>",
      "createdAccountCurrencyCode": "<string>",
      "status": "<string>",
      "msg_note": "<string>",
      "msg_code": "<string>",
      "msg_code_id": "<string>",
      "accountBankCode": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
requestDTO
object[]
required

Response

200 - application/json

Domiciliary account created successfully

dormAccountResponseDTO
object[]