Get payment options
get_payment_optionsGet ways to pay for an instance's plan: card/subscription buy links, crypto payment info, and Telegram Stars info (crypto and Stars are in beta testing), plus the instance's current term.
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": {
"id": "<id>"
},
"name": "get_payment_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Instance (agent) id, as returned by create_instance or list_instances. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | The instance's current billing term. | |
| stars | Yes | Telegram Stars payment info (beta testing), as returned by the account API, plus an added 'note' field. | |
| crypto | Yes | Crypto payment info (beta testing), as returned by the account API, plus an added 'note' field. | |
| providers | No | Card/subscription payment providers and buy links, as returned by the account API. |