Documentation Index
Fetch the complete documentation index at: https://developers.ligdicash.com/llms.txt
Use this file to discover all available pages before exploring further.
Identity
| Field | Value |
|---|---|
| Operator | LigdiCash Wallet |
operator_id | - |
operator_name | LIGDICASH [OPERATOR_NAME] |
| Number format | country code + local number (no + or spaces) |
| Validation mode | SMS OTP |
The LigdiCash Wallet uses two endpoints distinct from the other operators (
/v02). The flow is different: a first call triggers the OTP being sent, a second call submits the transaction with the OTP.Validation mode: SMS OTP
The customer receives an OTP code on their LigdiCash app or by SMS after your first request. They share this code with you. You then submit a second request with the OTP to finalize the transaction.Recommended UX
Collect the customer's number
Your form collects the phone number associated with the customer’s LigdiCash account.
Send the OTP — first request
Call
GET /pay/v02/debitotp/{phone_number}/{amount}. LigdiCash sends an OTP to the customer.Display the OTP field
After confirmation that the OTP was sent (
"error": false), display an input field for the OTP. Tell the customer to check their LigdiCash app or SMS messages.Submit with the OTP — second request
Call
POST /pay/v02/debitwallet/withotp with the number in customer and the OTP in otp.Step 1 — Send the OTP
phone_number and amount parameters are path parameters, not a JSON body.
Headers
The API key of your LigdiCash project.
Your API TOKEN prefixed with
Bearer .Must be
application/json.Path parameters
Customer’s phone number in the format
country code + local number, without + or spaces.Amount in XOF (integer, no decimals).
Example
Response
Success
Step 2 — Validate with the OTP
Headers
The API key of your LigdiCash project.
Your API TOKEN prefixed with
Bearer .Must be
application/json.Must be
application/json.Body
Same structure as the/pay/v01/straight/checkout-invoice/create endpoint, with customer filled and otp containing the code received by the customer.
Example
Expected response
Limits
| Parameter | Value |
|---|---|
| Minimum amount | 10 XOF |
| Maximum amount | 2,000,000 XOF |
| Daily limit | — |
Related pages
- Validation modes — SMS OTP — details of the two-request flow
- Verify the status — call
confirmafter the callback
