Skip to main content
GET
Verify the status of a payin invoice

Headers

string
required
API key of the LigdiCash project.
string
required
Bearer {API_TOKEN}
string
required
application/json

Query parameter

string
required
Token returned by the create endpoint at invoice creation. Do not use the callback token — they are different.

Response

string
"00" = call succeeded, "01" = technical error.
string
Payment status: completed, pending, or notcompleted.
string
Empty in the confirm response.
string
Error sub-code if response_code = "01", empty otherwise.
string
Free-form description. Can be empty.
string
Identifier of the operator used. Empty if status = pending.
string
Operator name. Empty if status = pending.
string
Payer’s number. null if status = pending.
integer
Amount in XOF.
integer
Same as montant.
string
Transaction date. Format: YYYY-MM-DD HH:MM:SS+TZ.
string
Concatenation of valueof_customdata values whose key contains "id". Matches the transaction_id if the pattern is respected.
string
Operator reference. Can be empty.
string
Unique LigdiCash identifier. Useful for support.
array
Metadata enriched by LigdiCash.
object
string
URL to the sub-codes documentation.

Error codes

Wiki: https://client.ligdicash.com/wiki/confirmInvoice — see Sub-codes per endpoint.