I am trying to transfer funds with stripe API but it is giving error that No such destination exist. here is the code
\Stripe\Stripe::setApiKey('App key');
$transfer= \Stripe\Transfer::create([
"amount" => 400,
"currency" => "usd",
"destination" => "acct_1FN******",
]);
return $transfer;
I make a new account and give that account's id.but it is still giving me that error?
Do i need live account stripe id?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire