#nix_error
1 messages ยท Page 1 of 1 (latest)
๐ 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/1230932190213177536
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
HI ๐
DO you see the request ID in that error message? The one that starts with req_? If you could paste that as text in this thread that would be a big help
Okay so the Connected Account acct_1OJnVQPn7yL2ZAy6 is in Canada and the Platform acct_1HALOUB7YuVHBjzt is in the US. These are considered separate regions.
As we explain in our docs here: https://docs.stripe.com/connect/account-debits
The connected account and the platform must be in the same region (that is, both must be in Europe or in the US).
req_nxEecDaMHeMt6X
The thing is I am trying to solve this:
I want to transfer money from two connected accounts that are connected to my platform account, and the only way available I saw was charging the connected account I want and then doing a transfer from the platform account to the other connected account, but I can't seem to set it up.
It doesnt matter how and the region of the accounts should not be an issue. ๐
THe regions of the accounts are the issue though. A US platform cannot debit a CA connected account
ohh ok
but is there a more clean way to transfer money from one connected account to another connected account then this:
const charge = await stripe.charges.create({
amount: amount,
currency: 'usd',
source: sourceAccountId, // This needs to be a valid source token
description: 'Charge from source account for internal transfer'
});
console.log("๐ ~ debitFromSourceAndCreditToDestination ~ charge:", charge)
// Step 2: Transfer the amount to the destination account
const transfer = await stripe.transfers.create({
amount: amount,
currency: 'usd',
destination: destinationAccountId,
description: 'Transfer to destination account',
source_transaction: charge.id
});
There is not a feature to support this currently, no.
However, if you are interested in this feature I would advise you to write in to Support requesting it.
https://support.stripe.com/contact
They should be able to keep you informed of progress and/or find any private beta programs that you might be eligible for.
Ok then, let's say I have an affiliate system built out, and I want one connected account to get 70% of paid and the rest 30% for another connected account, is that a feature thats possible