createSubscriptionPlan
Create an IMMUTABLE recurring-billing plan; send payers to result.mini_app_subscribe_url. See the subscriptions doc.
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": {
"name": "<name>",
"asset": "<asset>",
"amount": "<amount>",
"period_days": "<period_days>"
},
"name": "createSubscriptionPlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Plan name shown to payers (≤64). | |
| asset | Yes | Asset code, e.g. USDT. | |
| amount | Yes | Decimal string in MAJOR units, e.g. "5" = 5 USDT. Never a float. Charged per period. | |
| period_days | Yes | Billing period in days. |