Stripe API Reference - Create a customer

PHOTO EMBED

Mon May 25 2020 10:06:38 GMT+0000 (Coordinated Universal Time)

Saved by @shyamady #nodejs

var stripe = require('stripe')('sk_test_LIPsyf7cwBv0pbWPbzjeqAhj009wgDByN7');

stripe.customers.create(
  {
    description: 'My First Test Customer (created for API docs)',
  },
  function(err, customer) {
    // asynchronously called
  }
);
content_copyCOPY

Created stripe customer.

https://stripe.com/docs/api/customers/create