Create subscription
Create a new subscription for a customer with a specific plan.
Documentation Index
Fetch the complete documentation index at: https://docs.meteroid.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
ON_START, ON_CHECKOUT, MANUAL "plan_7n42DGM5Tflk9n8mt7Fhc7"
"2024-11-01"
1 <= x <= 32767"2025-11-01"
x >= 0Payment methods configuration. If not specified, inherits from the invoicing entity.
- Option 1
- Option 2
- Option 3
Migration mode: when true with a past start_date, skip creating invoices for past cycles. The subscription will be set to the current billing period with correct cycle_index.
x >= 0Response
Subscription successfully created
When the subscription was created
AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLP, CNH, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STD, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VES, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW, ZWL "EUR"
Current billing period start date
"cus_7n42DGM5Tflk9n8mt7Fhc7"
"sub_7n42DGM5Tflk9n8mt7Fhc7"
Monthly recurring revenue in cents
x >= 0Payment terms in days (0 = due on issue)
x >= 0Billing period (monthly, annual, etc.)
MONTHLY, QUARTERLY, SEMIANNUAL, ANNUAL "plan_7n42DGM5Tflk9n8mt7Fhc7"
x >= 0"plv_7n42DGM5Tflk9n8mt7Fhc7"
When the subscription contract starts (benefits apply from this date)
PENDING_ACTIVATION, PENDING_CHARGE, TRIAL_ACTIVE, ACTIVE, TRIAL_EXPIRED, PAUSED, SUSPENDED, CANCELLED, COMPLETED, SUPERSEDED, ERRORED When the subscription was activated (first payment or activation condition met)
When billing started (after any trial period)
Current billing period end date
When the subscription ends (if set)
Default memo for invoices
Online (card/direct debit), BankTransfer, or External.
- Option 1
- Option 2
- Option 3
Trial duration in days
x >= 0