callback_url field of every transaction creation request.
Technical requirements
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
