Skip to main content

Create Subscription Plan

Creates a new subscription plan under the merchant's company account. Plans define the price, currency, items, and renewal interval that will apply to attached subscribers.

A freshly created plan has no subscribers and no billing activity. Use Add Subscribers to start onboarding clients onto the plan.

Two date fields in the response:

  • expiresAt — payment deadline for the current invoice: 7 days after it is issued (e.g. issued 2026-07-01expiresAt 2026-07-08). An unpaid invoice becomes expired after this date.
  • nextBillingAt — stays null until a subscriber's payment is received. It is then set to payment date + billing period − 4 days — the date the next renewal invoice is generated.
POST/api/subscriptionsAuth: Required

Request Body

namestringRequired

Subscription plan name.

intervalCountnumberRequired

Renewal period interval counter. Allowed range: 13650.

intervalUnitstringRequired

Renewal period interval unit. One of: day, week, month, year.

invoiceCurrencystringRequired

Items price currency. Can be eur, usd, or a crypto asset (usdt, usdc, btc, eth, ton, sol, bnb, bch, ltc, trx).

itemsarrayRequired

Provided items and their prices.

More attributes