Payout API
Send money to bank accounts. Retrieve supported banks, validate account names, make single or bulk transfers and track every payout.
Environments & authentication
Use the sandbox base URL for development and testing. All endpoint paths below are appended to the base URL.
Authenticate every request
All endpoints require the following headers. Your API key and secret key are supplied by 3ribe.
apikey: YOUR_API_KEY
apisecretkey: YOUR_API_SECRET_KEY
Content-Type: application/jsonEndpoint reference
Append the endpoint path to your environment’s base URL.
Recommended payout flow
- 01Get bank list — load the supported banks and store the code of the beneficiary’s bank.
- 02Validate account — run name enquiry with the account number and bank code, and confirm the returned accountName.
- 03Transfer — send a fund transfer with a unique requestRef. Store it together with the returned transactionReference.
- 04Query — check the transfer status by requestReference. Update your records only from the queried result.
Bank list
Returns the banks you can send payouts to. Use each bank’s code as beneficiaryBankCode or cbnCode in later requests. This request has no body.
{
"banks": [
{ "name": "Access Bank Nigeria Plc", "code": "044" },
{ "name": "Citibank Nigeria Limited", "code": "023" },
{ "name": "Access Diamond Bank Plc", "code": "063" }
],
"responseMessage": "Bank list retrieved",
"responseStatus": true
}{
"banks": [],
"responseMessage": "No list found!",
"responseStatus": false
}Validate bank account
Name enquiry. Confirm the account holder’s name before sending money.
{
"accountNumber": "0123456789",
"cbnCode": "057"
}{
"accountName": "JOHN DOE",
"responseMessage": "Account details retrieved",
"responseStatus": true
}{
"accountName": "",
"responseMessage": "Account details cannot be validated, kindly check and try again!",
"responseStatus": false
}Fund transfer
Send a payout to a single bank account.
{
"amount": 200,
"requestRef": "TRX-20261102-0001",
"beneficiaryAccountName": "JOHN DOE",
"beneficiaryPhone": null,
"beneficiaryEmail": null,
"beneficiaryBankCode": "057",
"beneficiaryAccountNumber": "0123456789"
}Request parameters
The source does not mark fields as required or optional. Confirm validation rules with 3ribe.
{
"transactionReference": "1746898909",
"responseMessage": "Request is completed successfully",
"responseStatus": true
}{
"transactionReference": "",
"responseMessage": "Transaction with the same request reference already exist",
"responseStatus": false
}Bulk fund transfer
Send payouts to several accounts in one request. The body is an array of the same transfer objects used by Fund transfer, each with its own unique requestRef.
[
{
"amount": 100,
"requestRef": "TRX-20261102-0002",
"beneficiaryAccountName": "JOHN DOE",
"beneficiaryPhone": null,
"beneficiaryEmail": null,
"beneficiaryBankCode": "057",
"beneficiaryAccountNumber": "0123456789"
},
{
"amount": 100,
"requestRef": "TRX-20261102-0003",
"beneficiaryAccountName": "JANE DOE",
"beneficiaryPhone": null,
"beneficiaryEmail": null,
"beneficiaryBankCode": "044",
"beneficiaryAccountNumber": "0123456780"
}
]{
"transactionReference": "1746898956",
"responseMessage": "Request is completed successfully",
"responseStatus": true
}{
"transactionReference": "",
"responseMessage": "Transaction with the same request reference TRX-20261102-0002 already exist",
"responseStatus": false
}Fund transfer query
Check the status of a single transfer using the requestRef you sent. Note that this request calls the field requestReference.
{
"requestReference": "TRX-20261102-0001"
}{
"amount": 100.000000,
"beneficiaryBankCode": "057",
"beneficiaryAccountNumber": "0123456789",
"transactionReference": "F119813359151",
"requestReference": "TRX-20261102-0001",
"currency": "NGN",
"transactionDate": "2025-05-09T18:11:39.8655431",
"valueDate": "2025-05-10T13:22:15.0095835",
"responseMessage": "Request is successful",
"responseStatus": true,
"transactionStatus": "SUCCESS"
}{
"amount": 0,
"currency": "NGN",
"transactionDate": "0001-01-01T00:00:00",
"responseMessage": "Transaction not found.",
"responseStatus": false
}Bulk fund transfer query
Check the status of several transfers by passing an array of requestReference values.
{
"requestReference": [
"TRX-20261102-0002",
"TRX-20261102-0003"
]
}{
"responseMessage": "Bulk transaction status list found",
"responseStatus": true,
"bulkTransactionStatusList": [
{
"amount": 100.000000,
"beneficiaryBankCode": "057",
"beneficiaryAccountNumber": "0123456789",
"transactionReference": "1746898956",
"requestReference": "TRX-20261102-0002",
"currency": "NGN",
"transactionDate": "2025-05-10T18:42:22.5782835",
"valueDate": "2025-05-10T18:42:36.8319981",
"transactionStatus": "SUCCESS"
}
]
}{
"responseMessage": "Bulk transaction list not found",
"responseStatus": false,
"bulkTransactionStatusList": []
}Transaction list
Retrieve a paginated list of payout transactions. Leave both search parameters null to list all, or search by transaction or request reference.
{
"pageIndex": 1,
"pageSize": 10,
"searchParams": {
"TransactionReference": null,
"RequestReference": null
}
}{
"responseMessage": "Transaction(s) found",
"responseStatus": true,
"transactionList": {
"pageIndex": 1,
"totalPages": 1,
"pageSize": 10,
"totalCount": 1,
"hasPreviousPage": false,
"hasNextPage": false,
"items": [
{
"id": "171b5629390441a990dc8fb67fba0b8e",
"fee": 0.000000,
"status": "SUCCESS",
"transactionReference": "1746898956",
"transactionType": "Fund Transfer",
"payoutMethod": "Bank Transfer",
"amount": 100.000000,
"requestReference": "TRX-20261102-0002",
"transactionDate": "2025-05-10T18:42:22.5782835",
"valueDate": "2025-05-10T18:42:36.8319981",
"transactionResponseMessage": "Request is completed successfully",
"beneficiaryName": "JOHN DOE",
"beneficiaryBank": "Zenith Bank International",
"beneficiaryAccountNumber": "0123456789",
"beneficiaryBankCode": "057"
}
]
}
}{
"responseMessage": "Transaction(s) not found",
"responseStatus": false,
"transactionList": {
"pageIndex": 1,
"totalPages": 1,
"pageSize": 10,
"totalCount": 0,
"hasPreviousPage": false,
"hasNextPage": false,
"items": []
}
}Transaction by ID
Retrieve one transaction. Pass the transaction ID as the transactionid query parameter. This request has no body.
{
"responseMessage": "Transaction found",
"responseStatus": true,
"transaction": {
"fee": 0.000000,
"status": "SUCCESS",
"transactionReference": "1746812336",
"transactionType": "Fund Transfer",
"payoutMethod": "Bank Transfer",
"amount": 100.000000,
"requestReference": "TRX-20261102-0002",
"transactionDate": "2025-05-09T18:38:38.8801849",
"valueDate": "2025-05-09T18:38:56.2503765",
"transactionResponseMessage": "Request is completed successfully",
"beneficiaryName": "JOHN DOE",
"beneficiaryAccountNumber": "0123456789",
"beneficiaryBankCode": "057"
}
}{
"responseMessage": "Transaction not found",
"responseStatus": false,
"transaction": {
"fee": 0,
"amount": 0,
"transactionDate": "0001-01-01T00:00:00"
}
}Errors & security
Protect payouts
- 01Use HTTPS, keep credentials backend-only and restrict who can trigger transfers. Never put API credentials in logs or client code.
- 02Generate a unique requestRef for every payout attempt and store it before calling the API.
- 03Validate the account name before the first transfer to a new beneficiary.
- 04Reconcile your records against Fund transfer query or Transaction list. Keep secure audit logs.
Outstanding details
The source is a request and response reference. Confirm these items with 3ribe before going live.