#iffa_api

1 messages ¡ Page 1 of 1 (latest)

shy yarrowBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1353980533214023774

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

pseudo cairn
#

Hi! Looking into this.

#

Can I confirm if you just want to refund a partial amount (95%) to the customer but want to get back the full amout from the connected account?

whole ermine
#

Yeah, exactly that!

pseudo cairn
#

You can reverse transfer the funds from the connected account: https://docs.stripe.com/api/transfer_reversals/create And then you can do a partial refund (95%) to the customer. But you don't need to reverse_transfer=true when refunding the payment as you have already done that earlier.

whole ermine
#

Alright so what I thought was the correct approach was indeed the correct approach!

When creating the transfer reversal, setting refund_application_fee to true must be unnecessary in this case then? As that application fee has anyhow made it into our Stripe balance? The API docs on this are not entirely clear on what the behavior is when there's an application fee associated.

pseudo cairn
#

The refund_application_fee is to refund it to the connected account. You don't need to pass it because you would like to get back the application fee as well.

whole ermine
#

Ah that clears that up then!