Create Order
create_orderCreate an order for an eSIM package. Returns a Stripe checkout URL where the user can pay. Requires a session key (from a previous tool call's structuredContent) or creates one automatically.
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": {
"package_id": "<package_id>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_id | Yes | The package ID to order | |
| session_key | No | Session key from a previous tool call. If not provided, a new session is created automatically. | |
| referral_code | No | Optional referral code for a discount |