#Manishtiwari7355 - connect
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Please give me a few minutes to look at this.
okay
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).
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.
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
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
transferfor 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.
Here's an example of a destination charge, that automatically send money to the connected account:
https://stripe.com/docs/connect/destination-charges#application-fee
Happy to help!
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
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
okay