Skip to content

Instantly share code, notes, and snippets.

stripe.charges.createRefund(
req.params.chargeId,
{refund_application_fee: true},
{stripe_account: req.params.stripeConnectedAccount},
function(err, refund) {
if (err) {
res.error(err);
console.log(err);
}