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
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)