create_plan
Create subscription plans for recurring payments by defining billing intervals, pricing, trial periods, and expiration cycles.
Instructions
Create a subscription plan.
Args: name: Plan name amount: Plan price in cents currency: ISO currency code (e.g., MXN, USD) interval: Billing interval (day, week, half_month, month, year) frequency: How often the interval repeats (default 1) trial_period_days: Number of trial days before first charge expiry_count: Number of billing cycles before plan expires
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| amount | Yes | ||
| currency | Yes | ||
| interval | Yes | ||
| frequency | No | ||
| trial_period_days | No | ||
| expiry_count | No |