Skip to content

Instantly share code, notes, and snippets.

@wbashir
Created August 28, 2013 23:54
Show Gist options
  • Save wbashir/6372823 to your computer and use it in GitHub Desktop.
Save wbashir/6372823 to your computer and use it in GitHub Desktop.
Stripe charge refund
var amount = Math.abs(invoice.total);
stripe.charges.refund(charge.data[0].id, amount,
function (err, refund) {
)};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment