After your request, Zamani sends an SMS to the customer with the payment amount and the USSD code to dial to approve. The customer dials this code on their phone — they reach a USSD menu asking them to confirm with their Zamani Money PIN. No extra input on the merchant side: the callback remains the source of truth.Example SMS received by the customer:
Vous allez faire un retrait de 103.00 FCFA. Veuillez entrer le #146# et suivre les instructions
The SMS arrives within seconds, but the customer may take several minutes to read it and dial the USSD. Keep the waiting state until the callback arrives.
Your form only collects the Zamani phone number. No OTP to collect at this stage.
2
Submit the request
Request with the number in customer and otp: "".
3
Show a waiting message
After submission, display:
“You will receive an SMS on your phone with the instructions to validate the payment. Dial the USSD code shown and confirm with your Zamani Money PIN.”
Keep the waiting state until the callback arrives.
{ "response_code": "00", "token": "eyJ0eXAiOiJKV1Qi...", "response_text": "Votre requête est en cours de traitement", "wiki": "https://client.ligdicash.com/wiki/createInvoice"}
Store the token immediately after creation. Use it to call confirm when the callback is received — never rely on the token in the callback payload.