stripe/create_customer
Create a new Stripe customer
const app = mvfm(prelude, console_, stripe_);
const prog = app({}, ($) => {
const customer = $.stripe.customers.create({
email: "test@example.com",
name: "Jane Doe",
});
return $.console.log(customer);
});
await fold(defaults(app, { stripe: crystalBallStripeInterpreter }), prog); Ctrl+Enter