3ribe Sandbox Dashboard3ribe Production Dashboard
Your API credentials

Find your keys in the Developer section of your 3ribe dashboard.

Keep secret keys backend-only.
DocumentationPayout API
VERSION 1.0 / REST / JSON / HTTPS

Payout API

Send money to bank accounts. Retrieve supported banks, validate account names, make single or bulk transfers and track every payout.

Bank listName enquiryFund transferBulk transferStatus query
Always check responseStatus
responseStatus: true indicates a successful operation and responseStatus: false indicates a failed one. Read responseMessage for the reason.
GET STARTED

Environments & authentication

Use the sandbox base URL for development and testing. All endpoint paths below are appended to the base URL.

EnvironmentBase URLEnvironment / Base URL
SandboxDevelopment & testing
https://merchantb2bstagingapi.3ribestaging.com/api
ProductionConfirm with 3ribe
Not specified in the source documentation

Authenticate every request

All endpoints require the following headers. Your API key and secret key are supplied by 3ribe.

Required request headersHTTP
apikey: YOUR_API_KEY
apisecretkey: YOUR_API_SECRET_KEY
Content-Type: application/json
ParameterDescriptionParameter / Description
apikeyHeader
Merchant API key.
apisecretkeyHeader
Merchant API secret key.
Content-TypeHeader
application/json for POST requests.
Keep credentials on your backend
Never expose apisecretkey in frontend or mobile code. Payouts move real money, so restrict access to these endpoints and keep sandbox and production credentials separate.

Endpoint reference

Append the endpoint path to your environment’s base URL.

GET/payout/banklist
POST/payout/validatebankaccount
POST/payout/fundtransfer
POST/payout/bulkfundtransfer
POST/payout/fundtransferquery
POST/payout/bulkfundtransferquery
POST/payout/transactions/list
GET/transactions/getbyid?transactionid={transactionid}
Transaction By Id has no /payout prefix
The source documents this path as /transactions/getbyid, unlike the other operations. Use it exactly as written and confirm with 3ribe if it does not resolve.

Recommended payout flow

  1. 01Get bank list — load the supported banks and store the code of the beneficiary’s bank.
  2. 02Validate account — run name enquiry with the account number and bank code, and confirm the returned accountName.
  3. 03Transfer — send a fund transfer with a unique requestRef. Store it together with the returned transactionReference.
  4. 04Query — check the transfer status by requestReference. Update your records only from the queried result.
PAYOUT OPERATIONS

Bank list

GET/payout/banklist

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.

Success responseJSON
{
  "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
}
Empty list responseJSON
{
  "banks": [],
  "responseMessage": "No list found!",
  "responseStatus": false
}
ParameterDescriptionParameter / Description
banksArray
List of supported banks.
banks[].nameString
Bank name.
banks[].codeString
Bank code.
responseMessageString
Description of the result.
responseStatusBoolean
true when the list is retrieved; false when no list is found.

Validate bank account

POST/payout/validatebankaccount

Name enquiry. Confirm the account holder’s name before sending money.

Request bodyJSON
{
  "accountNumber": "0123456789",
  "cbnCode": "057"
}
ParameterDescriptionParameter / Description
accountNumberString
Beneficiary account number.
cbnCodeString
Bank code of the beneficiary bank.
Success responseJSON
{
  "accountName": "JOHN DOE",
  "responseMessage": "Account details retrieved",
  "responseStatus": true
}
Error responseJSON
{
  "accountName": "",
  "responseMessage": "Account details cannot be validated, kindly check and try again!",
  "responseStatus": false
}
ParameterDescriptionParameter / Description
accountNameString
Name on the account. Empty when validation fails.
responseMessageString
Description of the result.
responseStatusBoolean
Whether the account was validated.

Fund transfer

POST/payout/fundtransfer

Send a payout to a single bank account.

Request bodyJSON
{
  "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.

ParameterDescriptionParameter / Description
amountNumber
Amount to be transferred.
requestRefString
Unique reference generated by the merchant for this transfer. A repeated reference is rejected.
beneficiaryAccountNameString
Account name of the beneficiary, as returned by name enquiry.
beneficiaryPhoneString · nullable
Beneficiary phone number. The source example sends null.
beneficiaryEmailString · nullable
Beneficiary email address. The source example sends null.
beneficiaryBankCodeString
Bank code of the beneficiary bank, from the bank list.
beneficiaryAccountNumberString
Beneficiary account number.
Success responseJSON
{
  "transactionReference": "1746898909",
  "responseMessage": "Request is completed successfully",
  "responseStatus": true
}
Error response · duplicate referenceJSON
{
  "transactionReference": "",
  "responseMessage": "Transaction with the same request reference already exist",
  "responseStatus": false
}
ParameterDescriptionParameter / Description
transactionReferenceString
Reference generated by 3ribe. Empty on failure.
responseMessageString
Description of the result.
responseStatusBoolean
Whether the request completed successfully.
Use a unique requestRef and verify before retrying
A repeated requestRef is rejected as a duplicate. If a request times out or the outcome is unclear, query the transfer by its requestRef before sending it again, so the beneficiary is never paid twice.

Bulk fund transfer

POST/payout/bulkfundtransfer

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.

Request bodyJSON
[
  {
    "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"
  }
]
Success responseJSON
{
  "transactionReference": "1746898956",
  "responseMessage": "Request is completed successfully",
  "responseStatus": true
}
Error response · duplicate referenceJSON
{
  "transactionReference": "",
  "responseMessage": "Transaction with the same request reference TRX-20261102-0002 already exist",
  "responseStatus": false
}
Track each item by its requestRef
The response returns one transactionReference for the request. Use Bulk fund transfer query with every requestRef you sent to get the status of each payout.

Fund transfer query

POST/payout/fundtransferquery

Check the status of a single transfer using the requestRef you sent. Note that this request calls the field requestReference.

Request bodyJSON
{
  "requestReference": "TRX-20261102-0001"
}
Success responseJSON
{
  "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"
}
Error responseJSON
{
  "amount": 0,
  "currency": "NGN",
  "transactionDate": "0001-01-01T00:00:00",
  "responseMessage": "Transaction not found.",
  "responseStatus": false
}
ParameterDescriptionParameter / Description
amountNumber
Transfer amount.
beneficiaryBankCodeString
Beneficiary bank code.
beneficiaryAccountNumberString
Beneficiary account number.
transactionReferenceString
Reference generated by 3ribe.
requestReferenceString
Your original requestRef.
currencyString
Transaction currency, for example NGN.
transactionDateString
Date and time the transaction was created (ISO 8601).
valueDateString
Date and time the transaction was settled (ISO 8601).
transactionStatusString
Status of the transfer. The source example is SUCCESS.
responseMessageString
Description of the result.
responseStatusBoolean
Whether the transaction was found.

Bulk fund transfer query

POST/payout/bulkfundtransferquery

Check the status of several transfers by passing an array of requestReference values.

Request bodyJSON
{
  "requestReference": [
    "TRX-20261102-0002",
    "TRX-20261102-0003"
  ]
}
Success responseJSON
{
  "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"
    }
  ]
}
Error responseJSON
{
  "responseMessage": "Bulk transaction list not found",
  "responseStatus": false,
  "bulkTransactionStatusList": []
}
ParameterDescriptionParameter / Description
bulkTransactionStatusListArray
Status of each matched transfer, using the same fields as Fund transfer query.
responseMessageString
Description of the result.
responseStatusBoolean
Whether the list was found.

Transaction list

POST/payout/transactions/list

Retrieve a paginated list of payout transactions. Leave both search parameters null to list all, or search by transaction or request reference.

Request bodyJSON
{
  "pageIndex": 1,
  "pageSize": 10,
  "searchParams": {
    "TransactionReference": null,
    "RequestReference": null
  }
}
ParameterDescriptionParameter / Description
pageIndexNumber
Page to return, starting at 1.
pageSizeNumber
Number of items per page.
searchParams.TransactionReferenceString · nullable
Filter by the reference generated by 3ribe.
searchParams.RequestReferenceString · nullable
Filter by your requestRef.
Success responseJSON
{
  "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"
      }
    ]
  }
}
Error responseJSON
{
  "responseMessage": "Transaction(s) not found",
  "responseStatus": false,
  "transactionList": {
    "pageIndex": 1,
    "totalPages": 1,
    "pageSize": 10,
    "totalCount": 0,
    "hasPreviousPage": false,
    "hasNextPage": false,
    "items": []
  }
}
ParameterDescriptionParameter / Description
transactionList.itemsArray
Transactions on the current page.
items[].idString
Transaction ID. Use it with Transaction By Id.
items[].statusString
Transaction status.
items[].feeNumber
Fee charged for the transaction.
items[].transactionTypeString
Type of transaction, for example Fund Transfer.
items[].payoutMethodString
Payout method, for example Bank Transfer.
items[].beneficiaryName / beneficiaryBankString
Beneficiary name and bank name.
transactionList.totalPages / totalCountNumber
Pagination totals.
transactionList.hasPreviousPage / hasNextPageBoolean
Whether more pages exist.

Transaction by ID

GET/transactions/getbyid?transactionid={transactionid}

Retrieve one transaction. Pass the transaction ID as the transactionid query parameter. This request has no body.

Success responseJSON
{
  "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"
  }
}
Error responseJSON
{
  "responseMessage": "Transaction not found",
  "responseStatus": false,
  "transaction": {
    "fee": 0,
    "amount": 0,
    "transactionDate": "0001-01-01T00:00:00"
  }
}
Confirm which ID to pass
The source does not say which value transactionid expects. The Transaction list returns an id for each item; confirm with 3ribe whether that is the value to use here.

Errors & security

ScenarioRecommended actionScenario / Recommended action
responseStatus is false
Read responseMessage, do not treat the payout as sent and surface a clear error.
Duplicate requestRef
Query the existing transaction before sending a new transfer.
Account cannot be validated
Check the account number and bank code, then try name enquiry again.
No bank list found
Retry later or contact 3ribe.
Transaction not found
Check the reference you queried. A transfer that was never accepted will not appear.
Network timeout
Query by requestRef to learn the outcome before attempting another transfer.

Protect payouts

  1. 01Use HTTPS, keep credentials backend-only and restrict who can trigger transfers. Never put API credentials in logs or client code.
  2. 02Generate a unique requestRef for every payout attempt and store it before calling the API.
  3. 03Validate the account name before the first transfer to a new beneficiary.
  4. 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.

API areaConfirmation requiredAPI area / Confirmation required
Production
Production base URL and how production credentials are issued.
Statuses
Complete list of transactionStatus and status values. Only SUCCESS appears in the source.
Field rules
Which request fields are required, amount limits, and the allowed format of requestRef.
Bulk transfer
Maximum items per request and how partial failures are reported.
Transaction by Id
Which identifier transactionid expects.
Notifications
Whether payout status changes are sent through the Webhook API.
CONTINUE READINGCollection APIAccept payments on your website or app.
3ribe API referenceREST / JSON