MVFM

stripe/update_customer

Update an existing customer's details

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