#shokhaa-no-such

1 messages · Page 1 of 1 (latest)

tacit sequoia
#

"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)

winged edge
#

$act = $this->stripeClient->payouts->create([
'amount' => 1100,
'currency' => 'eur',
'destination' => 'ba_1Jn0FtQt7olLOw8ukly6rKsv'

    ]);
tacit sequoia
#

Do you have the request ID? Looks like req_123

winged edge
#

req_ZHObqSeLSTC7We

tacit sequoia
#

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

winged edge
#

the keys are the same

tacit sequoia
#

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.

winged edge
#

the keys are still test) well, I don’t have another key other than this, no where

#

bank account also test

tacit sequoia
#

ba_1Jn0FtQt7olLOw8ukly6rKsv was created on an account other than acct_1JGLZUJjpkJSdYjB, which is the account from where that request came

winged edge
#

my account: acct_1Jn0C9Qt7olLOw8u

#

bank: ba_1Jn0FtQt7olLOw8ukly6rKsv

#

request: $act = $this->stripeClient->payouts->create([
'amount' => 1100,
'currency' => 'eur',
'destination' => 'ba_1Jn0FtQt7olLOw8ukly6rKsv'

    ]);
#

?

tacit sequoia
#

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

winged edge
#

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

tacit sequoia
#

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

winged edge
#

how to send pending balance to available balance?

tacit sequoia
winged edge
#

how can i pay from one account to another account?