#nsad__

1 messages · Page 1 of 1 (latest)

distant arrowBOT
orchid ledge
#

Hello, what API call are you making when you get that error?

warm orbit
#

Hello, i am doing split of subscription, in this case my code is this inside webhook:

        stripe.Subscription.modify(
            stripe_subscription_id,
            transfer_data={
                'amount_percent': 20,  # Porcentagem a ser transferida para a conta do fornecedor (80%)
                'destination': 'xxxx',  # ID da conta do fornecedor
            }
        )
#

but when i was use another account to split, but show this error:

stripe.error.InvalidRequestError: Request req_OevUXWWmq49ZrK: No such destination:

orchid ledge
#

It looks like acct_1O1qhdLD7F1SKXUO is not connected to your platform account

warm orbit
#

i need fill data bank to make a split test?

orchid ledge
#

Not sure what you mean

#

Can you clarify?

distant arrowBOT
warm orbit
#

i am using a second account test to test the split

#

just to test

orchid ledge
#

That error happened because the Stripe account that you specified in the destination field is not connected to the Stripe account that you were trying to create the subscription on

#

The bank is not involved at that point. You need to connect the Stripe accounts within Stripe

warm orbit
#

ah the second account need conect with the first account?

orchid ledge
#

In live mode, a bank account will need to be connected to each account. But for the specific error that you sent me, the issue is a Stripe issue

#

Correct

warm orbit
#

okay, i am confuse, now what the next step

orchid ledge
#

I have to step away but @glad gyro can help with future questions.