Skip to main content

Base URL

All endpoints are reachable at:
There is no separate sandbox URL. During integration, you use the same URL with the credentials of your temporary account. See Environments.

Required headers

All requests must include these headers:
See Authentication to obtain your credentials.

Request format

Request bodies are in JSON. The root object is always commande for transaction creation endpoints.

Response format

All responses are in JSON. Fields common to all responses:
response_code: "00" means the API request succeeded, not necessarily that the transaction is completed. Use the status field (via confirm or callback) to know the payment outcome.

Versioning

The LigdiCash API exposes two versions:

Available endpoints

Hosted payin — create

POST /pay/v01/redirect/checkout-invoice/create

Payin — confirm

GET /pay/v01/redirect/checkout-invoice/confirm

Direct payin — create

POST /pay/v01/straight/checkout-invoice/create

Wallet — send OTP

GET /pay/v02/debitotp/{phone}/{amount}

Wallet — submit payment

POST /pay/v02/debitwallet/withotp

Wallet payout — create

POST /pay/v01/withdrawal/create

Mobile money payout — create

POST /pay/v01/straight/payout

Payout — confirm

GET /pay/v01/withdrawal/confirm/