MVFM

stripe/retrieve_customer

Retrieve a customer by ID

const app = mvfm(prelude, console_, stripe_);
const prog = app({}, ($) => {
  const customer = $.stripe.customers.retrieve("cus_abc123");
  return $.console.log(customer);
});
await fold(defaults(app, { stripe: crystalBallStripeInterpreter }), prog);
Ctrl+Enter