Your callback URL is the address to which LigdiCash sends result notifications. You provide it in 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.
callback_url field of every transaction creation request.
Technical requirements
| Criterion | Required |
|---|---|
| Protocol | HTTP or HTTPS |
| Accessibility | Publicly reachable from the internet |
| Authentication | No basic auth or token in the URL |
| Accepted method | POST |
| Accepted formats | application/json and application/x-www-form-urlencoded |
In production, prefer HTTPS to protect data in transit — even though HTTP is technically accepted by LigdiCash.
Setting the callback at creation
Depending on the transaction type,callback_url is passed in two different places in the request body.
In the commande object — for Payout:
actions object — for Payin:
Local development
Your local machine is not reachable from the internet. To test the callback locally, use a tunnel like ngrok or Expose, which creates a public HTTPS URL pointing to your local server.The ngrok URL changes every time you restart on the free plan. Use a fixed subdomain or deploy to a staging environment for more stable testing.
Related pages
- Payin payload — content of payin notifications
- Payout payload — content of payout notifications
- Idempotency — handling the two requests per event
