MVFM

stripe/retrieve_charge

Retrieve a charge by its ID

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