https://pay.kori.ml/<slug>. The
customer opens it, enters their mobile-money number, approves the prompt on their phone,
and your balance is credited. No integration is needed on your side to take a payment.
There are two ways to use one:
Bare links
Create the link once and share itsfull_url:
- Omit
amountfor an open-amount link; the payer types the amount (minimum 100 XOF). url_slugis optional. When you set it: 3–100 characters, lowercase letters, digits and hyphens. Omit it and one is generated from the title.usage_limitcaps the number of successful payments. A payment still awaiting the payer’s confirmation holds a place for up to 10 minutes, so people paying at the same moment cannot push the link past its limit.expires_atcloses the link at a given time.
payment_link_used webhook.
URL parameters
A bare link also accepts?amount= (open-amount links only), ?returnUrl= and
?client_reference_id=:
Checkout sessions
A checkout session is one payer’s checkout on a link. Your server creates it with the amount, your reference and the return URL, and Kori keeps them. The URL carries only an unguessable token, so there is nothing in it for anyone to tamper with.1
Create a link once
One link can serve all your sessions. An open-amount link lets each session carry its
own amount.
2
Create a session per order, from your server
Response
3
Send the payer to data.url
Redirect them, or send the URL by SMS or WhatsApp. The page shows the amount locked;
the payer only chooses an operator and enters their number.
4
Fulfil on the webhook
payment_link_used arrives with payment_session_id: 233 and your
client_reference_id. Because both came from your server, you can match the payment
to the order directly.Fields
Lifecycle
A session takes one payment. While a payment on it awaits the payer’s confirmation,
another attempt is refused for up to 10 minutes, so a double tap cannot send two prompts
for the same order. If that attempt fails, the payer can try again straight away.
Canceling stops new attempts. A payment the payer had already approved on their phone
still goes through and completes the session: that money is real, and you are credited
for it.
Check a session at any time: