#nsad__
1 messages · Page 1 of 1 (latest)
Hello, what API call are you making when you get that error?
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:
It looks like acct_1O1qhdLD7F1SKXUO is not connected to your platform account
You will want to use this flow to connect it https://stripe.com/docs/connect/oauth-standard-accounts
i need fill data bank to make a split test?
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
ah the second account need conect with the first account?
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
okay, i am confuse, now what the next step
If you want to use the same account that you were trying to use before (acct_1O1qhdLD7F1SKXUO), then follow the guide that I sent earlier https://stripe.com/docs/connect/oauth-standard-accounts
The other option is that you can create a new Standard connect account and transfer to that new account https://stripe.com/docs/connect/standard-accounts
I have to step away but @glad gyro can help with future questions.