create_checkout_session
Create a one-time, expiring checkout session with a hosted payment URL. Accept mobile money, card, or PayPal payments and return a token, hosted URL, and embed URL for the payer.
Instructions
Mint a one-time, expiring Ultraner checkout token. Returns a token, a hosted url and an embed url; the payer picks mobile money, card or PayPal on the hosted page. The equivalent of Stripe checkout.sessions.create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Label shown to the payer | |
| amount | Yes | Amount in the smallest currency unit | |
| currency | No | e.g. TZS (default), RWF, USD | |
| description | No | ||
| is_recurring | No | Make it a subscription | |
| expires_in_minutes | No | Default 1440 (24h), max 43200 (30d) | |
| recurring_interval | No | ||
| recurring_interval_days | No |