#peter_40675
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
What is the issue ?
see i discribe what the issue is
first i create intent with 1000 amount with 400 application_fee
now i capture it and then refund it
so, connect account will going -4 (-400)
yes that's expected
i want only refund amount which going to connect account
application_fee not refundable and also not deduct from connect account that's what i want
Checking...
kkk
Let's rephrase it and get some clarity
You have that payment and it worked like this :
The Customer was charged £12.00
The Connected Account received £8.00 (they recieve a Transfer of £12.00, and then a fee of £4.00 is taken from them)
Your Platform received £4.00 minus the Stripe fee.
Now you are doing a refund. Whom do you want to get which exact amounts, exactly?
The Connected Account received £8.00 -- Only this 8 was refundable
12 - 8 = 4 (4 is application_fee right ?) ==> then this fee will not refundable which i want
I don't know what you mean by the word 'refundable' in this context.
bruh
i want to refund which i already payout in connect accounts
ok. So let's dig in.
for that example, you have three parties, the Customer, you(the Platform), and the Connected Account
what do you want each party to recieve/lose when doing this refund?
ok then
Customer pay £12,
me(Platform) Recived £4,
Connected Account Recived £8
Now i want to only refund £8 to customer from Connected Accounts
ok. So the customer paid your business £12, and you are giving them a refund of only £8, correct?
and you want that £8 to come from the connected account and not your platform?
yes like that
well if that's what you want than I believe that is done by:
call the Refunds API with amount:800, reverse_transfer:true, refund_application_fee:false
(since the Transfer will be reversed proportionally to the partial refund amount).
Do you have some IDs I can look at?
Yes sure there is
- create account - req_e0D9x0meLeQkBR
- Payment Intent create -- req_JrOklBQZO3FgoE
- Capture Payment -- req_VsTZuoikCytPMF
- Refund -- req_p0PuLrD2FQYejW
you did not pass amount:800.
req_p0PuLrD2FQYejW did not pass any amount, so it's just refunding the full £12 to the customer and reversing the £12 transfer the connected account recieved(leaving them -£4 because that amount had already had an application fee deducted from it).
Nope
yep.
I said earlier to
call the Refunds API with amount:800, reverse_transfer:true,
and that code doesn't do that.
ok i've check just min
thanks karllekko
all working now im just curious about what is that total volume
it's the total volume of money that has processed through that account, such as the 12 pound transfer it recieved.
8 is the net amount yes, but look at https://stripe.com/docs/connect/destination-charges#flow-of-funds-app-fee which shows how it works at the granular level, the account recieves 12 and then 4 is taken back.
it's just how we account for it in that field in the Dashboard I suppose. That's not an area my team deals with since it's not directly about the API.
okay now understood, happy with your conversation