Get recurring invoice
get_subscriptionGet one recurring invoice (subscription) by id: status (active, paused, cancelled, expired) and status_reason, amount (whole tenge), schedule, next_billing_at, cycles_paid, retry settings and a masked phone. Use when you have the subscription id (from create_subscription or list_subscriptions); for the invoices it sent use list_subscription_invoices. An unknown id returns a 404 not_found error.
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": {
"subscription_id": "<subscription_id>"
},
"name": "get_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscription_id | Yes | Subscription id returned by create_subscription / list_subscriptions. |