Stripe Utwórz klienta
/*
Create customer account
*/
const customer = await stripe.customers.create({
email: user.email, // optional
name: `${user.first_name} ${user.last_name}`, // optional
metadata: {
user_id: 'foo' // Or anything else
}
})
florinrelea