Price an order before buying
preview_orderPrice an order before buying
What booking a plan, changing or renewing a subscription or buying add-ons would cost, with VAT, term and whether it is refused (refusal). Nothing is charged. Buy with POST /billing/orders.
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": {
"kind": "<kind>"
},
"name": "preview_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | `subscription_book` a new plan, `subscription_change` another plan, `subscription_renew` the running term again, `addon` extra minutes or conversations. | |
| planId | No | For `subscription_book` and `subscription_change`: `id` from `GET /billing/plans`. | |
| timing | No | For `subscription_change`. | |
| quantity | No | For `addon`. | |
| addonType | No | For `addon`. | |
| subscriptionId | No | For `subscription_change` and `subscription_renew`. |