Created
September 27, 2022 09:23
-
-
Save KrishanMadushanka/586cef7a3f8c339182616aa3eaa5a5e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.post("/refund-destination", async (req, res) => { | |
| const refund = await stripe.refunds.create({ | |
| charge: "<charge id>", | |
| reverse_transfer: true, | |
| refund_application_fee: true, | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment