#shokhaa-no-such
1 messages · Page 1 of 1 (latest)
"No such..." errors are usually caused by either a mismatch in API keys (e.g. using a mixture of your test plus live keys) or by trying to access objects that exist on a different account (e.g. trying to perform an operation from your platform account on an object that was created on a connected account)
$act = $this->stripeClient->payouts->create([
'amount' => 1100,
'currency' => 'eur',
'destination' => 'ba_1Jn0FtQt7olLOw8ukly6rKsv'
]);
Do you have the request ID? Looks like req_123
The bank account token you have there was created on a different Stripe account, hence why you're getting that error
You should check that you are using the correct API keys
You should delete those messages, leaking your secret key like that can cause you big headaches
But besides that, that bank account object still exists on a different account, so you likely still have a reference to different keys somewhere in your system.
the keys are still test) well, I don’t have another key other than this, no where
bank account also test
ba_1Jn0FtQt7olLOw8ukly6rKsv was created on an account other than acct_1JGLZUJjpkJSdYjB, which is the account from where that request came
my account: acct_1Jn0C9Qt7olLOw8u
bank: ba_1Jn0FtQt7olLOw8ukly6rKsv
request: $act = $this->stripeClient->payouts->create([
'amount' => 1100,
'currency' => 'eur',
'destination' => 'ba_1Jn0FtQt7olLOw8ukly6rKsv'
]);
?
Same problem with that request as before. The request is coming from one account, but the bank token you provided is from a different account.
The request is coming from acct_1JGLZUJjpkJSdYjB, but the bank account token was created on acct_1Jn0C9Qt7olLOw8u
If you're trying to make connect request, you need to provide the stripe-account header with your request: https://stripe.com/docs/api/connected_accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
After payment from the client, you cannot immediately make a payment to the seller?
when will pending be available so I can pay my sellers
Do you mean paying out to a bank account? If so that can only happen once the funds have "settled" in the Stripe account, which can take some time. The Balance Transaction object will tell you if the funds are available or not: https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
how to send pending balance to available balance?
You can't, it's a process that happens behind the scenes. If you're testing this however you can use a special test card to bypass the pending state: https://stripe.com/docs/testing#cards-responses
how can i pay from one account to another account?