response_code is 01, the response_text field contains a sub-code in the form Echec (CodeXX). This sub-code is specific to the endpoint you called. This page lists every possible sub-code for each endpoint.
createInvoice
Endpoint:POST /pay/v01/redirect/checkout-invoice/create and POST /pay/v01/straight/checkout-invoice/create
Wiki: https://client.ligdicash.com/wiki/createInvoice
confirmInvoice
Endpoint:GET /pay/v01/redirect/checkout-invoice/confirm and POST /pay/v01/withdrawal/confirm
Wiki: https://client.ligdicash.com/wiki/confirmInvoice
createWithdrawal
Endpoint:POST /pay/v01/withdrawal/create (payout to LigdiCash wallet)
Wiki: https://client.ligdicash.com/wiki/createWithdrawal
Echec (Code07) — Transaction_id already exists confirms the importance of the transaction_id pattern: every call must carry a unique identifier, including retries. See transaction_id pattern.createStraightWithdrawal
Endpoint:POST /pay/v01/straight/payout (direct payout to mobile money)
Wiki: https://client.ligdicash.com/wiki/createStraightWithdrawal
Related pages
- The wiki field — read sub-codes dynamically from the API response
- Common errors — causes and solutions by error type
- Overview — the two error levels
