create stripe subscription pay_immediately

98

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

Comments

Submit
0 Comments