# LigdiCash

> Set up LigdiCash on your own account in Mali and francophone West Africa: enter your API key and API token, set the callback URL, and confirm XOF payments.

Source: https://docs.centipidbilling.com/billing/payment-gateways/ligdicash

## Collect payments with LigdiCash

`LIGDICASH` sends the payer to **LigdiCash's hosted payment page**, where they
pay in **XOF** with local mobile money operators (Orange Money, Moov Africa,
MTN Mobile Money, Wave, Free, Airtel, Zamani, YAS) or supported cards.

When LigdiCash sends its callback — or when the payer returns to your portal —
Centipid Billing re-verifies the invoice against LigdiCash's `confirm` endpoint
using the invoice token saved when checkout started. The package is credited
only when LigdiCash confirms `completed` for at least the package price.
Duplicate callbacks are ignored, mismatched tokens are rejected, and a
background status poll recovers payments whose callback never arrived.

The money goes directly into **your own LigdiCash merchant account**. Centipid
Billing never holds it.

Offered in the country catalog for Mali, Burkina Faso, Côte d'Ivoire, Senegal,
Guinea, Niger, Togo and Benin. Your billing currency must be `XOF`, or
checkouts are refused before calling LigdiCash.

## Configure the gateway

#### Get your API key and API token from LigdiCash

Sign in to your LigdiCash dashboard (`https://client.ligdicash.com`) and
copy the **API key** (`Apikey`) and **API token** (`API_TOKEN`) from your
activated API project. LigdiCash has no separate sandbox host; live keys
always call `app.ligdicash.com`.

#### Open Settings → Payments → LigdiCash

Select LigdiCash from the payment marketplace.

#### Enter your credentials

Paste the API key and API token, then switch to LigdiCash. Both values are
stored encrypted and masked on future visits.

#### Register the callback URL with LigdiCash

Copy the **Callback URL** shown on the LigdiCash settings page and register
it on your LigdiCash API project so LigdiCash posts payment confirmations
to your portal.

## Callback URLs

| Where | URL |
| --- | --- |
| LigdiCash API project callback URL | `https://<your portal domain>/api/ligdicash/callback` |

The return and cancel addresses (`/api/ligdicash/return/<payment reference>`)
are sent with each invoice, so there is nothing extra to register for them.

## Walled garden

For hotspot subscribers who are not yet online, your MikroTik walled garden
automatically opens `app.ligdicash.com`. Operators that hand off to an external
provider web page (such as Orange Money Mali) also require that operator's
host to be reachable pre-authentication; test a live payment from an
unauthenticated device.
