7. Payment links

Collect without code: every individual merchant has a permanent open-amount link and a QR code. You can also create fixed-amount links. Customers pay on Kratos Pay's hosted page by Mobile Money or card when enabled.

What the payment page does

For information, or if you build your own payment page:

RouteRoleResponses
GET /public/payment-links/{slug}Shows the link. Returns 200 even if the link is unavailable (is_available: false + unavailable_reason: disabled, expired or max_uses_reached).200, 404 if unknown slug
POST /public/payment-links/{slug}/transactionsCreates the customer's payment (provider, phone_number, amount, idempotency_key). amount is only required for open-amount links.201 (pending), 404, 422 (link unavailable, network not allowed, missing amount)
GET /public/transactions/{uuid}/statusWaits for the result: stays open up to 20 s while the status is pending; call it again immediately.200: { uuid, status, amount, currency, provider }