Create Subscription
Creates a new subscription in Stripe.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
stringrequired
Identifier of the customer to subscribe.
string
Price ID for each subscription item.
number
Quantity for each subscription item.
string
Payment method attached to invoices for this subscription.
Uncommon arguments
string
How Stripe handles the first invoice payment.
string
How to collect payment for this subscription.
string
Trial end timestamp or now.
object
Metadata key-value pairs for the subscription.
string
Fields to expand in the response.