Order a product
order_productOrder something that is not a server (a Gateway, a static proxy address, proxy credit) AND pay for it from the account wallet. THIS SPENDS REAL MONEY. Two steps, like create_server. Step 1: call it with only product_id; nothing is ordered, and the reply lists the questions (each option such as the country, billing cycle, quantity, coupon) with choices and prices. Ask the person every question; never choose for them. Step 2: call it again with every answer, the ceiling max_price_minor (whole minor units) and a request_id. Needs a key with orders:create, billing:read and invoices:pay. For servers use create_server.
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": {
"product_id": "<product_id>"
},
"name": "order_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extras | No | One entry per option the product has: the option name (or id) mapped to the chosen value name (or id), for example {"ISP Country": "United States"} | |
| quantity | No | How many units | |
| product_id | Yes | From list_products | |
| request_id | No | An id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action. | |
| coupon_code | No | A coupon code, or null when the person has none | |
| billing_cycle | No | One of the cycles the product is sold in | |
| max_price_minor | No | Spending ceiling for the first invoice, in whole minor units |