Skip to content

Instantly share code, notes, and snippets.

@KrishanMadushanka
Created September 27, 2022 09:41
Show Gist options
  • Select an option

  • Save KrishanMadushanka/04c3476ce6ed9507a323d72ceb092f93 to your computer and use it in GitHub Desktop.

Select an option

Save KrishanMadushanka/04c3476ce6ed9507a323d72ceb092f93 to your computer and use it in GitHub Desktop.
app.post("/refund-separate", async (req, res) => {
const refund = await stripe.refunds.create({
charge: "<charge id>",
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment