#piercy_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1251106071284809751
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Here is the documentation I have been looking at:
https://docs.stripe.com/api/fee_refunds/create
It shows an FR number, but I don't know what that is or where it comes from:
const stripe = require('stripe')('[redacted]');
const feeRefund = await stripe.applicationFees.createRefund(
'fr_1MtJRpKbnvuxQXGuM6Ww0D24'
);
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
๐ happy to help
I think the docs are wrong here
you should pass in the fee ID fee_xxx
Ah ok, that makes much more sense, thanks will try this
I will flag this so it would be fixed!
Thanks, i cant imagine app fee refunds are used often. I am hoping we dont need to use it too much either.