Skip to main content

Create Transfer

POST /openbanking/transfer/{bankCode}

Description

Creates a transfer to a specified bank using the provided details. This endpoint allows for batch transactions within the open banking system.

URL Parameters:

NameTypeDescription
bankCodestring(Required) The bank code of the receiving bank.

Headers:

NameTypeDescription
tenantIdstring(Required) The tenant ID of the user initiating the transfer.
countryCodestring(Required) The country code of the transaction.
userIdstring(Required) The user ID of the account holder.

Request Body:

NameTypeDescription
corporateAccountstringThe corporate account number for the transaction.
transactionBatcharrayA list of transactions to be executed.

Each item in the transactionBatch array should include:

NameTypeDescription
amountnumberThe amount to be transferred.
narrationstringA description or narration for the transaction.
bankCodestringThe code of the bank receiving the transaction.
currencystringThe currency of the transaction. Example: USD.
beneficiaryAccountstringThe account number of the beneficiary.

Sample Request Body:

{
"corporateAccount": "string",
"transactionBatch": [
{
"amount": 50,
"narration": "string",
"bankCode": "string",
"currency": "string",
"beneficiaryAccount": "string"
}
]
}'

Sample Response:

200: The transfer was processed successfully.

{
"status": true,
"statusCode": 0,
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"data": {},
"descriptiveMessage": "string"
}
]
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /openbanking/transfer/{bankCode} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!