Headers
The API key of your LigdiCash project.
Your API TOKEN prefixed with
Bearer . Example: Bearer eyJ0eXAiOiJKV1Qi...Must be
application/json.Must be
application/json.Body
Root object of the request.
Request example
Response
"00" if the invoice was created successfully, "01" on error.Identifier of the transaction on the LigdiCash side. To be stored in your database — required to call
confirm.On success: the URL of the payment page to open for the customer. On failure: the error sub-code in the form
Echec (CodeXX).URL to the documentation of error codes for this endpoint. To consult when
response_code is "01".Response example
Related pages
- Redirect the customer — how to open
response_text - Common pitfalls — empty
customer, blocked iframe - The transaction_id pattern — best practices for
custom_data
