#sc_api

1 messages · Page 1 of 1 (latest)

crisp adderBOT
#

👋 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/1264967185391161508

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

fervent delta
#

(continued)

What I'm wanting is for the platform and connected accounts to be net £0 after this transaction with the stripe fee in essence being 'paid for' by the customer. However due to requesting only a partial refund of the charge, the refund of the application fee is done proportionally (as specified by the docs), meaning that only £6.93 would be refunded from the platform account to the connected account, rather than the full £7.20.
Is there a simple way I can achieve this (ideally without having to make two separate calls to the API to refund the charge and then the application fee)?

silk creek
#

Hello

#

Only way is two separate requests

fervent delta
#

Thanks for the reply, I assume my options are either:

  • Send the RefundApplicationFee flag as false on the refund request and do a separate call to refund the application fee in its entirety
  • Send the flag as true and then make a second call to refund the remaining amount on the application fee
    Is there any real difference between these approaches or particular reason to pick one over the other?
silk creek
#

Yeah I would do the first one so you just have one application fee refund

#

Easier to reconcile later on

fervent delta
#

Yeah makes sense, I'll look into it
Thanks!

silk creek
#

Sure thing