Create subscription

Creates a new subscription for a customer

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Subscription configuration including customer and plan details

date-time
required

Effective date of the policy/subscription

date-time
required

Expiration date of the policy/subscription

string
required

The Stripe customer ID (must start with "cus_")

string
required

The Stripe price ID for the subscription plan (must start with "price_")

number
required

The policyholder ID from contact catalog

number
required

The carrier ID from contact catalog

boolean

Whether to automatically remit premiums for invoices created from this subscription

number

Service fee amount to be applied to invoices created from this subscription

number

Tax amount to be applied to invoices created from this subscription

number

Commission amount to override default calculation for invoices created from this subscription

number

Number of days for auto-reminder notifications

string
length ≤ 200

Custom memo prefix for invoices created from this subscription

string
length ≤ 50

Broker code associated with this subscription

boolean

Whether invoices created from this subscription should be signed

boolean

Whether commission should be visible to policyholder in invoices created from this subscription

number

ID of the MGA.

string | null

External policy ID.

number | null

Down payment amount.

number | null

Finance amount.

string
enum
required

Required payment method for the subscription. This determines fee structures and payment processing. Only card and us_bank_account are supported.

Allowed:
string

URL used as the return URL for the Stripe billing portal. When customers access the billing portal to manage their subscription, they will be redirected to this URL when they exit the portal. This is NOT used for initial payment redirect.

string
required

URL to redirect to after successful payment completion in the Stripe Checkout Session. This URL will be used when the customer successfully completes payment for the subscription.

string

URL to redirect to when the customer cancels the payment in the Stripe Checkout Session. This URL will be used when the customer cancels the checkout process.

Responses

400

Invalid subscription configuration

401

Invalid or missing authorization token

403

Insufficient permissions

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json