Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.niobi.co/llms.txt

Use this file to discover all available pages before exploring further.

This section explains how to execute payouts using Niobi’s Payment API, covering various payment channels and the payout process.
This page covers Version 3 of the API. For the latest samples and integration flow, refer to the updated Make Payments v4 page.
To start making payments using these methods, ensure that your Niobi account is set up and verified. Refer to the ‘Setting up a Niobi Account’ section in the Getting Started section for detailed steps on account creation and setup.

Using the API

The unified-payments api endpoint is used for making payments across the supported countries. Please find the full API reference here. You will be required to pass in the following parameters:
ParameterTypeRequiredDescription
AmountNumberYesThe amount to be paid from your account. This is in absolute form (e.g. 100 KES should be passed as 100).
CurrencyStringYesThe currency in which the payment will be made.
Payment ReferenceStringYesInformation you will use to refer to the transaction later.
First NameStringYesThe first name of the recipient.
Last NameStringYesThe last name of the recipient.
MobileStringYesThe phone number of the recipient.
EmailStringYesThe email of the recipient.
Country IDStringYesThe ID of the country the payment will be made to. The full list can be found here.
CityStringYesThe city of the recipient.
Postal CodeStringYesThe postal code of the recipient.
Address Line 1StringYesThe address line 1 of the recipient.
DescriptionStringNoA description or message from the payer who is making the payment.
Client Callback URLStringYesThe callback URL for payment confirmation response.
Third Party ReferenceStringNoInformation you’d like to use to refer to the deposit later.
Payment Method TypeStringYesThe payment channel that will be used for the payment.
Payment Method ObjectObjectYesAn object containing the recipient’s phone number for the selected payment method type.
You will then generate a signature using the parameters above and proceed to make an api request using the payload. On successful payment, you will receive a callback response with the transaction details. Please find a detailed description of the callback response under Callback URL Section.
Please note that all live transactions made through our API are subject to a transaction fee.