createSubscriptionPlan
Create an IMMUTABLE recurring-billing plan; send payers to result.mini_app_subscribe_url. See the subscriptions doc.
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. |