v1

latestOpenAPI 3.1.02026-08-042453938.9 KB
Customers

Attach a Quickstart-managed plan to a customer

Creates a Stripe Subscription on the merchant's connected account for the given Drip (customer, plan) pair. The plan MUST be Drip-managed (managedBy=DRIP); run provisionPlanOnStripe / POST /pricing-plans/:id/reprovision-stripe first if the plan is still EXTERNAL. Idempotent: re-calling with the same customer + plan returns the existing subscription.

Requires a secret key (sk_*) with the ADMIN role.

post/v1/customers/{id}/attach-plan

Path parameters

idstring required

Drip customer id

Request body

planIdstring required

Drip pricing plan id

customerEmailOverridestring

Optional email to send to Stripe when the Drip customer row has none. Ignored if the customer already has an email.

Response

Default Response