Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create a customer in stripe node.js

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

stripe.customers.create({ email: 'email_address' }, (error, customer) => {
	if (error) {
      console.error(error);
    } else {
      console.log(customer);
    }
});
 
PREVIOUS NEXT
Tagged: #create #customer #stripe
ADD COMMENT
Topic
Name
9+8 =