Endpoints
| Endpoint | Request |
|---|---|
| List Plans | GET /plans |
| Create Plan | POST /plans |
| Retrieve Plan | GET /plans/{id} |
| Update Plan | PATCH /plans/{id} |
| Delete Plan | DELETE /plans/{id} |
| Calculate Tax | POST /plans/{id}/calculate_tax |
Attributes
Account that sells this plan;
null for standalone invoice plans.Whether this plan accepts local currency payments via adaptive pricing.
Recurring billing interval in days, such as 30 for monthly or 365 for annual.
null for one-time plans.Whether tax is collected on purchases of this plan.
When the plan was created, as an ISO 8601 timestamp.
Three-letter ISO currency code for this plan’s prices.Available options:
usd, sgd, inr, aud, brl, cad, dkk, eur, nok, gbp, sek, chf, hkd, huf, jpy, mxn, myr, pln, czk, nzd, aed, eth, ape, cop, ron, thb, bgn, idr, dop, php, try, krw, twd, vnd, pkr, clp, uyu, ars, zar, dzd, tnd, mad, kes, kwd, jod, all, xcd, amd, bsd, bhd, bob, bam, khr, crc, xof, egp, etb, gmd, ghs, gtq, gyd, ils, jmd, mop, mga, mur, mdl, mnt, nad, ngn, mkd, omr, pyg, pen, qar, rwf, sar, rsd, lkr, tzs, ttd, uzs, rub, btc, cny, usdt, kzt, awg, whop_usd, xauCustom input fields collected on the checkout form.
Properties
Properties
Custom field input type.Available options:
textCustom field ID.
Field label shown to customer at checkout.
Field position on checkout form.
Placeholder text shown in empty field.
Whether the customer must complete this field to check out.
Customer-visible plan description.
Access duration in days for expiration-based plans.
Plan ID, prefixed
plan_.Initial purchase price in plan currency.
Private notes visible only to authorized team members.
Invoice this plan was generated for;
null unless created for an invoice.Active memberships through this plan, when visible to the requester.
Custom key-value pairs stored on the plan.
Payment method configuration (
enabled, disabled,
include_platform_defaults); null when plan uses default settings.Billing model for this plan:
renewal (recurring) or one_time (single payment).Available options: renewal, one_timeProduct this plan belongs to;
null for standalone plans.URL where customers can purchase this plan directly.
Sales method for this plan, such as
buy_now or waitlist.Available options: buy_now, waitlistRecurring price charged every billing period.
Installment payments required before the subscription pauses.
Units available for purchase, when visible to the requester.
How tax is handled for this plan.Available options:
inclusive, exclusive, unspecified3D Secure behavior for this plan;
null inherits account default.Available options: mandate_challenge, frictionlessPlan display name shown to customers.
Free trial days before the first renewal charge.
null if no trial is
configured or the user has already used a trial for this plan.Whether the plan has unlimited stock.
When the plan was last updated, as an ISO 8601 timestamp.
Whether the plan is visible to customers or hidden from public view.Available options:
visible, hidden, archived, quick_linkPlan

