Create subscription

📘

API Refs

Request body

NameTypeDescriptionRequired
customerstringThe Stripe CustomerIDyes
itemsarrayArray of subscription items with price and quantityyes
policyholderIdnumberThe policyholder ID from contact catalogyes
carrierIdnumberThe carrier ID from contact catalogyes
grossPremiumnumberGross premium amount (2 decimal places)yes
effectiveDatedateEffective date of the subscription/policyyes
expirationDatedateExpiration date of the subscription/policyyes
payment_behaviorstringStripe payment behavior (e.g., default_incomplete)no
expandarrayFields to expand in Stripe responseno
isAutoRemitPremiumsbooleanAuto-remit premiums for created invoicesno
serviceFeenumberService fee amount for invoicesno
taxesnumberTax amount for invoicesno
commissionnumberCommission override amountno
numDaysForAutoRemindnumberDays for auto-reminder notificationsno
memostringCustom memo prefix (max 200 chars)no
brokerCodestringBroker code (max 50 chars)no
shouldBeSignedbooleanWhether invoices should be signedno
isCommissionVisibleForPolicyholderbooleanShow commission to policyholderno
mgaIdnumberMGA IDno
policyIdstringExternal policy ID (max 50 chars)no
downPaymentnumberDown payment amountno
financeAmountnumberFinance amountno

Response

A successful request returns a 201 Created status code with the created subscription details including:

  • StripeSubscriptionID
  • Current status
  • Customer information
  • Plan details
  • Billing cycle information
  • Next payment date

Description

This endpoint creates a new subscription for an existing customer. The customer must already exist in your system and have a valid payment method on file. Use this endpoint when you want to programmatically subscribe customers to your plans.