samedi 28 septembre 2019

Do I need live stripe account id to transfer funds in laravel?

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?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2mF7mhH
via IFTTT

Aucun commentaire:

Enregistrer un commentaire