purchase_topup
Purchase a compatible top-up package for an active eSIM order using wallet balance. Requires a session token to process the transaction.
Instructions
Purchases a compatible top-up package using the wallet balance. Requires a valid session token.
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": {
"orderId": "<orderId>",
"packageCode": "<packageCode>",
"token": "<token>"
},
"name": "purchase_topup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The secure session token returned by verify_agent_otp. | |
| orderId | Yes | The ID of the active eSIM order. | |
| packageCode | Yes | The top-up package code to purchase. |