#peter - Destination Charge
1 messages · Page 1 of 1 (latest)
Hi 👋
The amount is stored in USD but the payment record includes CAD as the fx_currency and has an fx_amount that has the price in CAD.
How can I fetch the payment record?
However, I do not know whether you can access this via the API. The closest related resource is the Balance Transaction
Is there a Balance Transaction for the connected account?
Looking in a couple other places
I have seen a Balance Transaction for the platform account, but that has nothing since the amount didn't get converted.
My goal would be to somehow determine the converted value via the API
Can you try accessing the Balance Transaction. There is a property called exchange_rate that should include this information
For this payment the balance transaction ID is txn_1LdOUG2S8RzLSMJJk3UFIOjy
This exists on the account acct_1LcYHq2S8RzLSMJJ
You can actually have the API return this data when you make the destination charge. You would just specify charges.data.transfer.balance_transaction in the expand parameter
You can also include charges.data.balance_transaction and charges.data.transfer.destination_payment in the expand parameter to get plenty of information up front