#Manishtiwari7355 - connect

1 messages · Page 1 of 1 (latest)

muted warren
#

Hi there!

echo island
#

ok wait

#

req_46SrRpDEPoR1nP

#

I am using my test mode key

#

Are you still here??

muted warren
#

Please give me a few minutes to look at this.

echo island
#

okay

muted warren
#

So yes that's expected to fail, you cannot do a transfer outside of your region (the platform is in AU and the connected account in CA).

echo island
#

how can i do that

#

I am creating destination charge

muted warren
#

If you are using destination charges with on_behalf_of parameter, then it will work. But the request you shared you are directly calling the transfer endpoint, and this can only work for account in the same region.

echo island
#

just wait let me see my code

#

After adding on_behalf_of paramter still got same error

#

"req_jQjIVScl67ZCZx" this is request id

#

This is my code

muted warren
#

I'm sorry if I wasn't clear:

  • If you directly call the transfer endpoint, it can't work. It's not possible to call transfer for accounts in different regions
  • but you don't need to call the transfer endpoint if you are using destination charges! When using destination charges with on_behalf_of, Stripe will automatically transfer some money from the platform account to the connected account and that works regardless of the account's country.
echo island
#

thanku for giving me such information

#

it save my lot of time

muted warren
#

Happy to help!

echo island
#

As you said "stripe will automatically transfer some money from the platform account to the connected account" but when i do that in my(user connected account) receive funds but in stripe platform(AUS) connected account, amount not dencrease it still same after transfering the funds as funds transfer succesfully

muted warren
#

I'm sorry I don't understand. If you followed the example I shared:

const paymentIntent = await stripe.paymentIntents.create({
amount: 1000,
currency: 'eur',
application_fee_amount: 123,
transfer_data: {
destination: '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
},
});
Then 1000 goes to the platform first, then 123 are transfered to the connected account automatically

echo island
#

okay