Headers
string
required
The API key of your LigdiCash project.
string
required
Your API TOKEN prefixed with
Bearer . Example: Bearer eyJ0eXAiOiJKV1Qi...string
required
Must be
application/json.string
required
Must be
application/json.Body
object
required
Root object of the request.
Request example
Response
string
"00" if the invoice was created successfully, "01" on error.string
Identifier of the transaction on the LigdiCash side. To be stored in your database — required to call
confirm.string
On success: the URL of the payment page to open for the customer. On failure: the error sub-code in the form
Echec (CodeXX).string
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
