#piercy_api

1 messages ยท Page 1 of 1 (latest)

spice pelicanBOT
#

๐Ÿ‘‹ 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.

pearl cobalt
#

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'
);
floral condor
#

๐Ÿ‘‹ happy to help

#

I think the docs are wrong here

#

you should pass in the fee ID fee_xxx

pearl cobalt
#

Ah ok, that makes much more sense, thanks will try this

floral condor
#

I will flag this so it would be fixed!

pearl cobalt
#

Thanks, i cant imagine app fee refunds are used often. I am hoping we dont need to use it too much either.