Group Location
Explore Plans
Mobile menu Close menu
StripeStripe

Create subscription

This action will create a new subscription for a customer.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This action will create a new subscription for a customer.
API endpoint slug
stripe.create_subscription
Filter code method
Stripe.createSubscription.skip(string?: reason)
Runtime method
runAction("stripe.create_subscription", {})

Action fields

Customer Text input > Other

Label
Customer
Helper text
The customer to subscribe.
Slug
customer
Required
true
Can have default value
true
Filter code method
Stripe.createSubscription.setCustomer(string: customer)

Description Text input > Other

Label
Description
Helper text
The description of the subscription.
Slug
description
Required
false
Can have default value
true
Filter code method
Stripe.createSubscription.setDescription(string: description)

Line item 1 price Text input > Other

Label
Line item 1 price or plan
Helper text
The price or plan of the first line item.
Slug
line_item_1_price
Required
true
Can have default value
true
Filter code method
Stripe.createSubscription.setLineItem1Price(string: lineItem1Price)

Line item 1 quantity Text input > Other

Label
Line Item 1 Quantity
Helper text
The quantity of the first line item.
Slug
line_item_1_quantity
Required
true
Can have default value
true
Filter code method
Stripe.createSubscription.setLineItem1Quantity(string: lineItem1Quantity)

Line item 2 price Text input > Other

Label
Line item 2 price or plan
Helper text
The price or plan of the second line item.
Slug
line_item_2_price
Required
false
Can have default value
true
Filter code method
Stripe.createSubscription.setLineItem2Price(string: lineItem2Price)

Line item 2 quantity Text input > Other

Label
Line Item 2 Quantity
Helper text
The quantity of the second line item.
Slug
line_item_2_quantity
Required
false
Can have default value
true
Filter code method
Stripe.createSubscription.setLineItem2Quantity(string: lineItem2Quantity)

Line item 3 price Text input > Other

Label
Line item 3 price or plan
Helper text
The price or plan of the third line item.
Slug
line_item_3_price
Required
false
Can have default value
true
Filter code method
Stripe.createSubscription.setLineItem3Price(string: lineItem3Price)

Line item 3 quantity Text input > Other

Label
Line Item 3 Quantity
Helper text
The quantity of the third line item.
Slug
line_item_3_quantity
Required
false
Can have default value
true
Filter code method
Stripe.createSubscription.setLineItem3Quantity(string: lineItem3Quantity)

Payment behavior Dropdown list

Label
Payment Behavior
Helper text
The payment behavior of the subscription.
Slug
payment_behavior
Required
false
Can have default value
true
Filter code method
Stripe.createSubscription.setPaymentBehavior(string: paymentBehavior)