#nix_error

1 messages ยท Page 1 of 1 (latest)

trail gyroBOT
#

๐Ÿ‘‹ 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.

heavy runeBOT
next nymph
#

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.

shy plume
#

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. ๐Ÿ™‚

next nymph
#

THe regions of the accounts are the issue though. A US platform cannot debit a CA connected account

shy plume
#

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
        });
next nymph
#

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.

shy plume
#

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

next nymph
#

Yes, that is essentially what the Separate Charges & Transfers funds flow is designed for