#yoni5692
1 messages ยท Page 1 of 1 (latest)
Hello ๐
The exchange rate is typically listed on the Balance Transaction along with Stripe Fees
Can you share the balance transaction ID you're working with?
The transfer ID is: tr_1NaeJGHeYHiV5ctXxWHuyfVQ
The balance transaction ID is: txn_1NaeJGHeYHiV5ctX4VOWpNtn
I wonder if its due to FX being applied to the transfer when it lands to the connected account.
Payment object on Connected account will have a different balance transaction object. Have you tried retrieving the balance transaction txn_1NaeJGQnXX4X1aQ6C9FVdtT1 ? You'd also need to pass in the connected account as Stripe-account header
Yes, there's a value for exchange rate there, but I don't see any reflection of the currency conversion fee (the 1%)
Also, the exchange rate is different that what the dashboard shows. In the balance transaction object I see: 0.901778
In the dashboard I see 0.9109
Can you share the full response you're seeing with both balance transactions?
The transfer balance transaction:
{ "id": "txn_1NaeJGHeYHiV5ctX4VOWpNtn", "object": "balance_transaction", "amount": -5490, "available_on": 1690979870, "created": 1690979870, "currency": "usd", "description": null, "exchange_rate": null, "fee": 0, "fee_details": [], "net": -5490, "reporting_category": "transfer", "source": "tr_1NaeJGHeYHiV5ctXxWHuyfVQ", "status": "available", "type": "transfer" }
The connected account payment balance transaction:
{ "id": "txn_1NaeJGQnXX4X1aQ6C9FVdtT1", "object": "balance_transaction", "amount": 4951, "available_on": 1690979870, "created": 1690979870, "currency": "eur", "description": null, "exchange_rate": 0.901778, "fee": 0, "fee_details": [], "net": 4951, "reporting_category": "charge", "source": "py_1NaeJGQnXX4X1aQ6GpetoEfd", "status": "available", "type": "payment" }
I'm guessing that the 1% percent conversion fee is somehow encapsulated in the difference in the reported exchange rate
I believe so, I've looked thoroughly but not seeing any thing different on my end.
I'd recommend confirming with our support team as they're experts on fees and can help figure out if above is the case here
https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
No other API that I should be looking at?
Also, how did you retrieve the balance transaction ID that was associated with the connected account? I'm not able to fetch the payment intent associated with the transfer
So if you look at the transfer object, it should list a destination_payment parameter
https://stripe.com/docs/api/transfers/object#transfer_object-destination_payment
It tells you what payment object was created on the connected account
oops wrong link, fixed
however, technically that payment object is owned by the connected account so in order to expand its balance transaction, you'd need to use stripe-account header
When I try to fetch the payment intent object that's owned by the connected account I'm getting a 404 error
py_xxx is a charge object
What API endpoint are you calling?
Oh - I assumed a charge object would start with ch_
py_xx prefix it used for non-card charge objects
We don't have a ton of public docs mentioning the above though
Yeah, I didn't see any reference that the object is a charge object and not a payment intent. The dashboard shows it as a "Payment"
All good. were you able to retrieve the balance transaction from the connected account?
Yes, thanks
I'm talking to support regarding the difference in exchange rates
Another partially related question - can I expect the exchange rates in test mode to be the same as in production. Are they updated at the same times?
AFAIK there might be some differences. This falls under support team's expertise as well ๐
We do have an estimation page here that let's you check current rate
https://stripe.com/docs/currencies/conversions#:~:text=You can check,to this rate.
I need access through API - I need to perform an automatic transfer of USD and expect an exact result in a different currency (let's say EUR).
The only method I can think of is to perform a dummy transfer in test mode, check the exchange rate, and then perform the actual transfer in production
I'd recommend asking support about if there are any private Exchange Rate APIs that your account might be eligible for. Our team won't know a ton about it so not sure how we can help any further ๐ฆ