#kemal_api

1 messages Β· Page 1 of 1 (latest)

scenic stumpBOT
#

πŸ‘‹ 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/1471854036373209222

πŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

eager spindle
#

πŸ‘‹ No, you can’t refund more than the total amount that was actually captured from the customer

bronze siren
#

Actually we will still refund $100 to end user, but as platform we dont want to give back our $5 to customer, but we want the restaurant to give back platform's processing fee which is $5 , so we want the restaurant account to be debitted minus $5 extra

eager spindle
#

If you want the restaurant to bear the platform fee (the $5) after you refund the customer, I think you would have to collect/charge that $5 from the restaurant separately

bronze siren
#

does your refund apis support this already . we are using connect with destination flow

What will happen in the below case within the above context ?

refund
$100
redundPlatformFee = false

eager spindle
#

Are you doing destination charges?

bronze siren
#

yes

#

what happened to platform fee, did platform kept it ?

#

hold on actually this one is more accurate example

curl https://api.stripe.com/v1/refunds
-u "sk_test_TRpeYc9q5FHNYipWLIudkwYd:"
-d charge=ch_3T03MuBXEXgJIGE10cJvj8Bc
-d refund_application_fee=false
-d reverse_transfer=true

#

did platform keep the fee in this case ?

eager spindle
#

Just double checking my understanding on this, one sec

#

So yes, it seems setting this param will actually have the net result that platform keeps their application fee

bronze siren
#

yeah i also noticed that, thanks for confirming

#

have a good day πŸ™‚