Make an internal transfer
curl --request POST \
--url https://{host}/v1/transfers/internal \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"source_account_number": "<string>",
"destination_account_number": "<string>",
"amount_minor": 2500000,
"narration": "<string>"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
'X-Api-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
source_account_number: '<string>',
destination_account_number: '<string>',
amount_minor: 2500000,
narration: '<string>'
})
};
fetch('https://{host}/v1/transfers/internal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/transfers/internal"
payload = {
"source_account_number": "<string>",
"destination_account_number": "<string>",
"amount_minor": 2500000,
"narration": "<string>"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"fee_minor": 123,
"vat_minor": 123,
"net_debited_minor": 123,
"currency": "NGN"
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"fields": {}
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}Transfers
Make an internal transfer
From one of the business’s wallets to another wallet at the bank: its own, its customer’s, or another business’s. A closed-loop business may also take money from its customers’ wallets, but never send their money outside the business. Done once this answers.
Required permission: transfers:write, feature:TRANSFERS_INTERNAL
POST
/
v1
/
transfers
/
internal
Make an internal transfer
curl --request POST \
--url https://{host}/v1/transfers/internal \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"source_account_number": "<string>",
"destination_account_number": "<string>",
"amount_minor": 2500000,
"narration": "<string>"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
'X-Api-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
source_account_number: '<string>',
destination_account_number: '<string>',
amount_minor: 2500000,
narration: '<string>'
})
};
fetch('https://{host}/v1/transfers/internal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/transfers/internal"
payload = {
"source_account_number": "<string>",
"destination_account_number": "<string>",
"amount_minor": 2500000,
"narration": "<string>"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"fee_minor": 123,
"vat_minor": 123,
"net_debited_minor": 123,
"currency": "NGN"
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"fields": {}
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}Authorizations
Headers
Body
application/json