#s2j2
1 messages · Page 1 of 1 (latest)
hello! you can choose to refund the application fee too : https://stripe.com/docs/api/transfer_reversals/create#create_transfer_reversal-refund_application_fee
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hey! Thanks for replying. That's what I'm doing but it doesn't reflect the behavior when cross-checking on Connected account's total balance.
However, when I tested with an account that has high balance, it fully refunded with the application fee.
Could it be that with low balance accounts, the behavior is different?
can you share the request id [0] where you attempted this but doesn't reflect the behavior? it'd look like req_xxx
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
it is req_ACMR9K7NxYwhwh
as far as i can see, the charge as well as the fee has been refunded. Where are you seeing that it's not reflecting the behaviour?
connected account's total balance, and the express account balance like below:
Total balance was 190 before refund -> refund 100 -> shouldn't the total balance be 100?
assuming that it refunds the fee as well
i suggest that you make a request to retrieve the balance using the API : https://stripe.com/docs/api/balance/balance_retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
then try a refund
and then retrieve the balance using the API again
that account balance page on the Dashboard isn't the most detailed
yes, already tried this one too. But it is in sync with the dashboard
this is from the server log, which is the same as 95.23 USD above
can you paste the response from the API i.e. the beginning balance including both pending and available breakdown
then you've done another refund?
i see you retrieving the balance, but i don't see you performing another refund
when you make the request to retrieve the balance for the connected account, you need to use the StripeAccount header : https://stripe.com/docs/connect/authentication