#itaied-connect-fx
1 messages · Page 1 of 1 (latest)
Hello 👋
Do you have a PaymentIntent ID I can take a look at?
pi_3LsJGsBGvIZrJ0230PB28LE1
It seems like you're setting the currency when creating the checkout session
https://dashboard.stripe.com/logs/req_qzrWWg7zXa7bHv
If this is for a connected account and you're creating destination charges then you may need to use on_behalf_of parameter
In which case Charges are settled in the connected account’s country and settlement currency.
Yes. I want the charge to be in MYR, and then transfer it to the connected account.
It is impossible for me to transfer MYR since I don't have a MYR bank account.
So I'm trying to transfer USD, as the previous error showed me.
I can't use on_behalf_of because the connected account is a recipient type (as it's outside of the US)
Gotcha. As far as I know, I don't think there's a workaround for this though unfortunately.
Either you use on_behalf_of or switch to direct charges.
So it is impossible to transfer the charge to the connected account?
I don't think you can accumulate balance in MYR to make a transfer in the same currency since your account is in the US. I think you can transfer USD as a cross-border transfer and it will settle in MYR
ok, that's what i'm trying to do, but I want to transfer 95% of the amount. When I read the amount from the payment intent, it display it as MYR and not as the converted USD, so it result in an exceeded amount and then fails
As far as I know, the PaymentIntent should have the original amount and the currency
What do you see when you retrieve the PaymentIntent object? What amount and currency?
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Hi 👋
hello.
Sorry for leaving I had to step away.
Answering the previous question, the amount and currency I see are the original ones (MYR).
I cannot transfer MYR, as my account doesn't have a MYR bank account, so Stripe converts it to USD.
When I try to transfer USD I need to reduce the amount of my app fees, which are some percentage, let's say 5%. So I want to transfer 95% of the converted amount as USD.
How can I find it?
On stripe dashboard I see both the MYR amount and the USD amount, but couldn't do it programmatically
When you say how can you find it, what is the "it" you are trying to find? The amount in USD?
yes
I don't think we perform those conversions in the API. You would need to do that yourself. The Dashboard performs some convenience functions that the API does not.
how can i make the conversions then? is there a stripe API for that?
We currently do not provide a currency conversion API but there are several free currency exchange rate APIs.
Since they aren't Stripe I cannot recommend any particular one but given how important currency conversion is to global e-commerce I suspect you could find a lot of blogs and articles discussing what the pros and cons of different APIs are and make your choice based on that.
ok thanks