Explore Plans
Mobile menu Close menu
Stripe

Create subscription

This action will create a new subscription for a customer.

Developer info

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.setLine Item 1 Price(string: line_item_1_price)

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.setLine Item 1 Quantity(string: line_item_1_quantity)

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.setLine Item 2 Price(string: line_item_2_price)

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.setLine Item 2 Quantity(string: line_item_2_quantity)

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.setLine Item 3 Price(string: line_item_3_price)

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.setLine Item 3 Quantity(string: line_item_3_quantity)

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.setPayment Behavior(string: payment_behavior)