Hosted payin is the fastest integration method. You create an invoice via the API, retrieve a payment link, and redirect your customer to the page hosted by LigdiCash. The customer chooses their operator, completes their payment, and is sent back to your site. You do not have to manage the payment interface. This method works on the web as well as in native mobile applications: the payment link opens in a WebView, and you detect the customer’s return by listening to URL changes.Documentation Index
Fetch the complete documentation index at: https://developers.ligdicash.com/llms.txt
Use this file to discover all available pages before exploring further.
How it works
Create the invoice
You call
POST /pay/v01/redirect/checkout-invoice/create with the order details. LigdiCash returns a token and a payment link in response_text.Redirect the customer
You open the payment link in the same tab, a new tab, or a popup. The customer lands on the LigdiCash payment page where they choose their mobile money operator.
The customer pays
The customer enters their number and validates the payment following their operator’s instructions. LigdiCash fully handles this step.
Important constraints
In this section
Create an invoice
Parameters, full payload, and response of the create endpoint
Redirect the customer
Opening the payment link: same tab, popup, WebView
Verify the status
Call the confirm endpoint with the creation token
Mobile integration
Open the link in a native WebView and detect the return
Common pitfalls
Iframe, empty customer, popup blocking — the frequent errors
