Cancel and refund an order
cancel_orderCancel an order and refund it. Only possible while the eSIM is uninstalled.
Once the profile has been installed on a device the provider refuses to take it back, and this returns an error instead — send the user to support.
Card payments refund automatically. A USDC payment has no on-chain refund rail, so
the order becomes refund_pending and support returns the money by hand.
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": {
"order_id": "<order_id>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | order_id of the order to cancel |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||