Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

create stripe subscription pay_immediately

const stripe = require('stripe')(STRIPE_KEY);

const subscription = await stripe.subscriptions.create({
  customer: CUSTOMER_ID,
  items: [
    {price: PRICE_ID},
  ],
  pay_immediately: false
});
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #create #stripe #subscription
ADD COMMENT
Topic
Name
4+3 =