get_qr_code
Fetch the eSIM QR code(s) for an order, to show the buyer directly. Pass the checkout_session_id from create_checkout. Returns a clear status: 'awaiting_payment' (buyer has NOT paid — tell them to pay), 'processing' (paid, eSIM still provisioning — retry in ~30s), 'manual_review' (paid, activation paused for security review; ask buyer to contact support@altesim.com with the order reference), 'ready' (returns the QR image(s) + ICCID(s) to display), 'expired', 'refunded', or 'failed'. Use the status to tell the buyer exactly what's happening — never assume payment succeeded.
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": {
"checkout_session_id": "<checkout_session_id>"
},
"name": "get_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkout_session_id | Yes | The checkout_session_id from create_checkout (Stripe session id). |