The LigdiCash Wallet uses distinct endpoints (
/pay/v02/debitotp and /pay/v02/debitwallet/withotp). See the LigdiCash Wallet page for its specific integration.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 examples
The examples below show two cases depending on the validation mode. Only theotp field changes.
Response
string
"00" if the transaction was created successfully, "01" on error.string
Identifier of the transaction on the LigdiCash side. Store it in your database immediately — required to call the
confirm endpoint and re-verify the status.string
On success:
"Votre requête est en cours de traitement". On failure: the error sub-code in the form Echec (CodeXX).string
URL to the documentation of error codes for this endpoint. Consult when
response_code is "01".Response example
Related pages
- Validation modes — choosing the
otpvalue depending on the operator - Verify the status — calling
confirmwith the creation token - The transaction_id pattern — best practices for
custom_data
