#christo_57479
1 messages ยท Page 1 of 1 (latest)
Hi, what do you mean with 'call-back info '?
If you're asking how you can see what exchange_rate was used, you can use the Balance Transaction API, https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-exchange_rate and look at exchange_rate.
@dusty raven let's chat on this thread
thanks for that - defintely an exchange rate issue.
Bob spends 100AUD - 70USD goes into account
Bob is refunded 100AUD - 75USD leaves the account (due to exchange rate moving)
I can't find the 5USD in the payment response
It's expected that the amount differ due to exchange rates used at the time of the charge vs. at the time of the refund. That exchange rate fluctiates with the market. We document this here, https://stripe.com/docs/currencies/conversions#conversions-disputes-refunds.
As far as how to see what was calculated, where are you looking that you can't find it?
in the response from doing a refund
Are you able to share the event id with me? Or the request id that made the refund? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
I understand that the currency conversion happens on the "sale" - all good
I also understand that it's taken care of for the refund - also all good
what isn't in the refund response (that we're getting) is the currency exchange rate used for the refund - that is the bit of info I require.
I'm good if we have to use additional calls to get it.
sorry, I can't share with you (i'm not the developer on this one - I just see the results).
I think what you're seeing is exptected that exchange_rate data is not included on the charge.refunded event. You can after getting this event, retrieve the Balance Transaction, https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-exchange_rate and look at exchange_rate.
Yap, tested this on my end as well.
sorry is that the balance of the original Transaction (sale) less the refunded amount OR is that the balance of the refund transaction? (the sample has null for the exchange rate so little difficult to tell)
On that event, you'll see the the "balance_transaction": "txn_123". You can use that to retrieve the exchange_rate used on that refund. I do not not undertsand the follow you question here. Are you able to clarify?
so it would go something like
1 Sale for 100AUD - 70USD into Stripe
2. Refund 100AUD - 75USD outta Stripe
3. do balance transaction on Sale to see rate
4. do balance transaction on Refund to see rate
5. calculate difference between the two?
basically i need to find that the 5USD difference has occurred
Yeap!
excellent - thanks for that. I will tell those actually doing the devel to set up the required calls and I can now plan out the work-flow ๐
actually one last thing before I disappear. I was told that starting October Stripe will no longer be refunding their fees if a refund is done - which surprised me as I thought Stripe stopped doing that ages ago - do you know of some fee change occurring in October?
Hmm, I'm unsure about fees and changes to fees. Our support team will be able to assist you better than I can: https://support.stripe.com/contact
that's fine, I was just curious. as I said, I thought it stopped long ago and so i've been accounting for it all this time ๐