How payouts work
- Look up the recipient bank with GET /kyc/banks
- Resolve the account name with GET /kyc/resolve-account?bank_code=…&account_number=… and show it to the sender for confirmation
- Create the transfer with POST /transfers — always send your own unique reference so retries never double-pay
Fees & settlement
A flat transfer fee applies per payout and is returned in the response as fee_kobo. Failed transfers are automatically reversed to your balance.
POST
/transfers
Create a transfer
Move funds from your MonieFlex balance to a resolved bank account.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
amount_kobo |
integer | Yes | Amount in kobo. |
bank_code |
string | Yes | Bank code from /kyc/banks. |
account_number |
string | Yes | 10-digit Nigerian bank account number. |
account_name |
string | Yes | Name returned by /kyc/resolve-account. |
reason |
string | Optional | Narration shown on the recipient's statement. |
reference |
string | Yes | Unique reference for idempotency. |
Code Samples
cURL
curl -X POST {{API_BASE_URL}}/v1/transfers \
-H "Authorization: Bearer <session_token>" \
-H "Content-Type: application/json" \
-d '{
"amount_kobo": 500000,
"bank_code": "058",
"account_number": "0123456789",
"account_name": "ADAEZE OKAFOR",
"reason": "Vendor payout July",
"reference": "KVN_TRF_9C1D22"
}'
Node.js
const res = await fetch("{{API_BASE_URL}}/v1/transfers", {
method: "POST",
headers: {
Authorization: "Bearer <session_token>",
"Content-Type": "application/json",
},
body: JSON.stringify({
amount_kobo: 500000,
bank_code: "058",
account_number: "0123456789",
account_name: "ADAEZE OKAFOR",
reason: "Vendor payout July",
reference: "KVN_TRF_9C1D22",
}),
});
const data = await res.json();
PHP
<?php
$ch = curl_init("{{API_BASE_URL}}/v1/transfers");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <session_token>",
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"amount_kobo" => 500000,
"bank_code" => "058",
"account_number" => "0123456789",
"account_name" => "ADAEZE OKAFOR",
"reason" => "Vendor payout July",
"reference" => "KVN_TRF_9C1D22",
]),
]);
$data = json_decode(curl_exec($ch), true);
Success Response (200 OK)
{
"transfer": {
"reference": "KVN_TRF_9C1D22",
"amount_kobo": 500000,
"fee_kobo": 5000,
"status": "pending",
"recipient": {
"account_number": "0123456789",
"bank_code": "058",
"account_name": "ADAEZE OKAFOR"
}
}
}
Error Response
{
"status": false,
"code": "insufficient_balance",
"message": "Insufficient balance to cover amount + fee"
}
POST
/transfers/bulk
Initiate Bulk Transfers (Batch Payouts)
Disburse payments to multiple bank accounts in a single atomic API call (up to 100 transfers per batch) powered by PalmPay NIP instant settlement.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
title |
string | Optional | Optional title or label for the disbursement batch. |
transfers |
array | Yes | List of payout items containing amount, bank_code, account_number, reference, and optional narration. |
Code Samples
cURL
curl -X POST {{API_BASE_URL}}/v1/transfers/bulk \
-H "Authorization: Bearer <secret_key>" \
-H "api-key: <api_key>" \
-H "Content-Type: application/json" \
-d '{
"title": "Monthly Staff Payroll",
"transfers": [
{
"reference": "PAY_001_8819",
"amount": 50000,
"bank_code": "058",
"account_number": "0123456789",
"narration": "Salary May"
},
{
"reference": "PAY_002_8820",
"amount": 75000,
"bank_code": "044",
"account_number": "0987654321",
"narration": "Vendor Invoice #402"
}
]
}'
Node.js
const res = await fetch("{{API_BASE_URL}}/v1/transfers/bulk", {
method: "POST",
headers: {
"Authorization": `Bearer ${secretKey}`,
"api-key": apiKey,
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "Monthly Staff Payroll",
transfers: [
{ reference: "PAY_001_8819", amount: 50000, bank_code: "058", account_number: "0123456789", narration: "Salary May" },
{ reference: "PAY_002_8820", amount: 75000, bank_code: "044", account_number: "0987654321", narration: "Vendor Invoice #402" }
]
}),
});
const data = await res.json();
PHP
<?php
$ch = curl_init("{{API_BASE_URL}}/v1/transfers/bulk");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer {$secretKey}",
"api-key: {$apiKey}",
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"title" => "Monthly Staff Payroll",
"transfers" => [
["reference" => "PAY_001_8819", "amount" => 50000, "bank_code" => "058", "account_number" => "0123456789", "narration" => "Salary May"],
["reference" => "PAY_002_8820", "amount" => 75000, "bank_code" => "044", "account_number" => "0987654321", "narration" => "Vendor Invoice #402"]
]
]),
]);
$data = json_decode(curl_exec($ch), true);
Success Response (200 OK)
{
"status": "success",
"message": "Bulk transfer completed: 2 successful, 0 failed",
"data": {
"batch_id": "batch_670a41d99fb3a",
"total_items": 2,
"successful_count": 2,
"failed_count": 0,
"total_amount": 125000,
"total_fee": 40,
"total_debit": 125040,
"items": [
{
"reference": "PAY_001_8819",
"account_number": "0123456789",
"bank_code": "058",
"amount": 50000,
"fee": 20,
"status": "successful",
"session_id": "NIP_871928410293"
},
{
"reference": "PAY_002_8820",
"account_number": "0987654321",
"bank_code": "044",
"amount": 75000,
"fee": 20,
"status": "successful",
"session_id": "NIP_871928410294"
}
]
}
}
Error Response
{
"status": "error",
"code": "insufficient_balance",
"message": "Insufficient wallet balance. Total required: ₦125,040.00, available: ₦80,000.00"
}