Every LigdiCash API response — whether success or failure — contains aDocumentation Index
Fetch the complete documentation index at: https://developers.ligdicash.com/llms.txt
Use this file to discover all available pages before exploring further.
wiki field with a URL pointing to the sub-codes documentation for the endpoint you called. This field is your main entry point to understand the exact cause of a response_code: "01".
Wiki URLs by endpoint
| Endpoint | Wiki URL |
|---|---|
POST /pay/v01/redirect/checkout-invoice/create | https://client.ligdicash.com/wiki/createInvoice |
GET /pay/v01/redirect/checkout-invoice/confirm | https://client.ligdicash.com/wiki/confirmInvoice |
POST /pay/v01/straight/checkout-invoice/create | https://client.ligdicash.com/wiki/createInvoice |
POST /pay/v01/withdrawal/create | https://client.ligdicash.com/wiki/createWithdrawal |
POST /pay/v01/straight/payout | https://client.ligdicash.com/wiki/createStraightWithdrawal |
POST /pay/v01/withdrawal/confirm | https://client.ligdicash.com/wiki/confirmInvoice |
The wiki URL is always returned in the response, even on success. You don’t need to hardcode it in your application — read it directly from the
wiki field of the response.Wiki page format
The wiki page returns a data structure in PHPvar_dump format listing all possible sub-codes for that endpoint:
subcodes corresponds to a possible value of response_text and its English description.
Backend usage pattern
The recommended approach is to fetch the wiki page only whenresponse_code === "01", to enrich your logs and build a message suited to your end user.
Building user-facing messages
Theresponse_text (Echec (CodeXX)) is a technical code and must never be shown directly to the end user. Build a mapping in your application:
Node.js
Monitoring integration
In production, enrich your alerts with the wiki sub-code:Node.js
Related pages
- Sub-codes reference — every
Echec (CodeXX)by endpoint - Common errors — causes, solutions, and related sub-codes
- Response codes and statuses — overview of
response_code
