Skip to main content
POST
Create a hosted payin invoice

Headers

Apikey
string
required
API key of the LigdiCash project.
Authorization
string
required
Bearer {API_TOKEN}
Accept
string
required
application/json
Content-Type
string
required
application/json

Body

commande
object
required

Response

response_code
string
"00" = success, "01" = error.
token
string
Transaction token. Store it immediately — required to call confirm.
response_text
string
Success: URL of the payment page to open for the customer. Failure: sub-code Echec (CodeXX).
wiki
string
URL to the sub-codes documentation for this endpoint.

Error codes

Wiki: https://client.ligdicash.com/wiki/createInvoice — see Sub-codes per endpoint. Create an invoice — full examples and pitfalls to avoid.