#chrisvr_81746

1 messages · Page 1 of 1 (latest)

safe dockBOT
short marsh
#

Hello! How can I help?

rich skiff
#

I am transacting with zero decimal currencies. And then the payment is confirmed via webhook with the charge succeded event, I am retrieving the balance transaction details to get the exchange rate used. For examples rate from JPY to USD.

I am noticing a difference where the rate I see on the dashboard is 0.006416 but in the transaction details I see 0.6416. Is there an adjustments I need to make for exchange rates of zero decimal currencies?

short marsh
#

Hmm... can you share an example transaction ID I can look at just to be sure?

rich skiff
#

sure

#

txn_3NlamSH2wLHuCKJp12wFJ0ln

#

for that transaction in the dashboard I see 0.006816 but when I retrieve the transaction details I get 0.681664

short marsh
#

Ah I see the issue

#

So the dashboard is showing the exchange rate from ¥ to $ US dollars

#

Where as the transaction is showing the exchange rate from ¥ to US cents

rich skiff
#

nice. So I should divide by 100 to adjust

#

thanks!