Skip to main content
POST
Create Subscription

Create Subscription

Create a new subscription for recurring payments. Subscriptions are typically created after a customer completes checkout via a payment link with payment_type: "subscription".

Authentication

Request Body

Parameters

Response

See Subscription Object for complete field descriptions.

Examples

Monthly Subscription with Trial

Annual Subscription

Bi-weekly Subscription

With JavaScript

Use Cases

Membership Tiers

Post-Checkout Subscription Creation

Upgrade/Downgrade Flow

Webhooks

Subscription creation triggers the following webhook event:
See Webhooks Reference for all subscription events.

Errors

Example error:

Best Practices

Offer Trial Periods

Use trials to reduce friction for new subscribers

Store Payment Method

Collect and verify payment method before trial ends

Handle Webhooks

Listen for subscription events for lifecycle management

Use Metadata

Track features and tiers in metadata

Important Notes

Payment method required. Even with a trial period, a valid payment method must be provided and will be verified during subscription creation.
HSA/FSA subscriptions. Ensure recurring charges are for eligible products/services. Some HSA/FSA administrators restrict recurring charges.