Create order (spends balance)
create_orderPlace a Telegram services order with a two-step confirmation: first estimate cost, then confirm to spend balance.
Instructions
Place a Stars Cash Flow order. THIS SPENDS the key's USD balance. Two-step by design: call without confirm (or confirm=false) to get a cost estimate and validation; call again with confirm=true to actually place the order. link is the target channel/post/bot link (required for most services).
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": {
"service": "<service>",
"link": "<link>",
"quantity": "<quantity>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Target link (channel/post/bot). Required for most services. | |
| confirm | No | Must be true to actually place the order and spend balance. Omit/false = estimate only. | |
| service | Yes | Service ID from list_services | |
| quantity | Yes | Quantity of units to order |