#itaied-connect-fx

1 messages · Page 1 of 1 (latest)

worthy fernBOT
sour briar
#

Hello 👋
Do you have a PaymentIntent ID I can take a look at?

cobalt cedar
#

pi_3LsJGsBGvIZrJ0230PB28LE1

sour briar
#

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.

cobalt cedar
#

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)

sour briar
#

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.

cobalt cedar
#

So it is impossible to transfer the charge to the connected account?

sour briar
#

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

cobalt cedar
#

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

sour briar
#

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?

uneven lanceBOT
dull umbra
#

Hi 👋

cobalt cedar
#

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

dull umbra
#

When you say how can you find it, what is the "it" you are trying to find? The amount in USD?

cobalt cedar
#

yes

dull umbra
#

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.

cobalt cedar
#

how can i make the conversions then? is there a stripe API for that?

dull umbra
#

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.

cobalt cedar
#

ok thanks