Customer payout sends funds to a beneficiary’s LigdiCash wallet, identified by their phone number. Funds arrive instantly in their wallet. Via theDocumentation Index
Fetch the complete documentation index at: https://developers.ligdicash.com/llms.txt
Use this file to discover all available pages before exploring further.
top_up_wallet parameter, you choose whether the funds stay there or whether LigdiCash automatically triggers a transfer to their mobile money account.
This method requires the beneficiary to have a LigdiCash account. If they do not, use Merchant payout, which sends directly to a mobile money number.
Prerequisites
- Payout must be enabled on your API project.
- Your server IP addresses must be whitelisted by LigdiCash — requests from non-whitelisted IPs are rejected. Contact developper@ligdicash.com to enable it.
- The sub-account of the operator matching the beneficiary’s number must be sufficiently funded.
Endpoint
Required headers
| Header | Value |
|---|---|
Apikey | Your API key |
Authorization | Bearer {AUTH_TOKEN} |
Accept | application/json |
Content-Type | application/json |
Request body
All fields are nested inside acommande object.
The top_up_wallet parameter
- top_up_wallet: 1 — wallet only
- top_up_wallet: 0 — auto-transfer
Funds arrive in the beneficiary’s LigdiCash wallet and stay there. The beneficiary can use them to pay on LigdiCash platforms or initiate a withdrawal to their mobile money themselves.Use for: crediting a loyalty account, distributing rewards the beneficiary will spend on your platform.
Request example
Response
Request result code.
"00" means the payout was initiated successfully. Any other value indicates an error.JWT token identifying the payout. Store it immediately — it is required to verify the status if your callback does not fire.
Textual message associated with the response code. Can be empty.
Additional description. Can be empty.
Always
[] for Customer payout.URL to the list of error codes specific to this endpoint. Consult when
response_code !== "00".Success
Related pages
- Merchant payout — direct transfer to mobile money without an intermediary wallet
- Verify the status of a payout
- The LigdiCash merchant account — understanding sub-accounts and per-operator balances
