Answers for "import stripe in es6"

0

import stripe in es6

import Stripe from 'stripe';
const stripe = new Stripe('sk_test_...');

(async () => {
  const customer = await stripe.customers.create({
    email: '[email protected]',
  });

  console.log(customer.id);
})();
Posted by: Guest on July-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language