Create a subscription plan
Creates a reusable billing plan. Subscriptions are attached to a plan and inherit its interval, amount, and trial settings.
Authorizations
Company API key. Send in the X-API-Key header.
Body
Display name for the plan (max 255 chars).
"Basic Monthly"
Plan price in cents (e.g. 2990 = R$29,90).
2990
Billing frequency.
weekly, monthly, yearly "monthly"
Optional description (max 1000 chars).
"Access to all basic features."
3-letter ISO currency code. Defaults to BRL.
"BRL"
Number of intervals between charges (e.g. 3 + monthly = every 3 months). Min 1, max 365.
1
Free trial days before first charge (1–365).
7
Day of the month to charge (1–28). Defaults to the subscription creation day.
5
Response
Plan created