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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount": "<amount>"
},
"name": "create_checkout_session"
}
}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 |