#jakel_transfer-currency

1 messages ¡ Page 1 of 1 (latest)

bleak finchBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1306369816353050657

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

compact jacinth
#

I think if you transfer funds from your USD balance that will get converted when it lands on your connected account.

#

Checking in to this works. Are you building a separate charges and transfers payment flow right now? Or is this for testing something else?

feral lagoon
#

Yeah it is for separate charges and transfers

#

POST Body

{
"destination": "acct_1QKntzPYbEGdAR7L",
"metadata": {
"subjectId": "e6d89a47-6a75-4d60-80da-3636a516c101",
"brandId": "5ea20797-e6e2-4ba8-9239-62f1ac52ffa9",
"subjectType": "booking"
},
"amount": "75000",
"currency": "eur"
}

Response Body

{
"error": {
"code": "balance_insufficient",
"doc_url": "https://stripe.com/docs/error-codes/balance-insufficient",
"message": "You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_EuL7WbK4TuBkZc?t=1731532805",
"type": "invalid_request_error"
}
}

compact jacinth
#

Gotcha, can you try with USD as well and see if you get the same error? I forget if it is possible for your platform to build an EUR balance as well but am double checking and will get back to you

feral lagoon
#

It works if we transfer USD. The funds just get converted when it hits the connected account.

"The receiving account doesn't support accepting funds in USD, so this transfer was converted to EUR, their default currency."

#

It's just that we will be processing charges in many different currencies (EUR, MXN, CHF, etc.) and would like to use the currency of the charge when making the transfers instead of having to do a conversion back to USD first

compact jacinth
feral lagoon
#

hmm, the issue with that is we are leveraging cross border payouts so we need to onboard the connected account using the Recipient Service agreement which restricts us from setting the card_payments capability to enabled.

And as a result, if we attempt to make a charge with the on_behalf_of param set, we get this error message:

"You cannot create a charge with the on_behalf_of parameter set to a connected account with transfers but without the card_payments capability enabled."

compact jacinth
#

Ah gotcha, I think we may not have a way for you to avoid these double conversions unfortunately. Trying to think of other ways to avoid this but as far as I am aware OBO is the only one

bleak finchBOT
feral lagoon
#

Okay, is this how partners typically handle these cross border payouts?

We would:

  1. Add logic in our code that converts the amount we want to transfer to the connected account to USD from the presentment currency
  2. Make the transfer in USD
  3. Stripe handles the conversion
sour plover
#

yes

#

jakel_transfer-currency

#

we are finally working on a beta API that allows you to plan for that currency conversion ahead of time though which will drastically improve the experience for platforms like you in the future.
You can reach out to our support team at https://support.stripe.com/contact and ask to be added to the wait list for our FXQuote API

feral lagoon
#

okay, thanks. does stripe have a recommendation on a public api or an actual stripe API that we could use to do this conversion to better match the rate that stripe will use ?

sour plover
#

We do not unfortunately. Until that beta is ready there's nothing we can offer that exists/works

feral lagoon
#

got it. so we will just pick an external api that works best for us to do the conversion

#

and then hopefully can eventually use the FXQuote API

sour plover
#

yes