当我尝试向另一个条带帐户汇款时,它显示错误
Fatal error: Uncaught (Status 400) (Request req_THWS8JfPOYcSrv) No such destination: "accountid" thrown in stripe-php\lib\Exception\ApiErrorException.php on line 38
对于转接,我使用
\Stripe\Stripe::setApiKey('SITE_KEY');
$transfer= \Stripe\Transfer::create([
'amount' => 1000,
'currency' => 'usd',
'transfer_data' => [
'destination' => 'other_stripe_account',
],
]);用于支付我使用的
\Stripe\Stripe::setApiKey('SITE_KEY');
$payout = \Stripe\Payout::create([
'amount' => 50,
'currency' => 'usd',
'destination' => "other_stripe_account",
],
["stripe_account" => "MY_STRIPE_ACCOUNT"]);我做错了什么。
发布于 2020-10-10 00:05:38
您不能使用任何其他帐户来汇款,您只能使用您在仪表板中创建的帐户,如“连接帐户”,然后您可以将资金转移到这些帐户。
https://stackoverflow.com/questions/60566078
复制相似问题