1

As far as I understand, regarding the Stripe transfers, you are able to send money to a credit card / bank account, even if those isn't registered with Stripe.

Following their API, I've come up with below code to send money to a credit card:

$amount = inputFilter($_POST['amount']);
$amount = $amount*100;
$destination = "card_6WWSXFfQsZEc66"; //Card data is a test card            

#$customer = \Stripe\Customer::retrieve($userdata["stripe_id"]);
$transfer = \Stripe\Transfer::create(array(
    "amount" => $amount,
    "destination" => $destination,
    "description" => "test payment"
));

$event_id = $tranfer->id;
$event = \Stripe\Event::retrieve($event_id);

die($event);

The response I am getting from above PHP code is this:

The card card_6WWSXFfQsZEc66 is not attached to this Stripe account. External accounts can only be attached to standalone Stripe accounts via the dashboard.

Have I misunderstood something? Aren't you supposed to be able to transfer funds from your own Stripe account to standalone bank/credit cards?

3
  • "external accounts can only be attached ... via the dashboard". So... did you attach this external credit card in the dashboard?
    – Marc B
    Commented Aug 13, 2015 at 17:25
  • @MarcB But "attached" - what does that mean in this case?
    – oliverbj
    Commented Aug 13, 2015 at 17:27
  • Attached means added. You cannot add a card as a destination for standalone accounts only for managed accounts. Commented Aug 15, 2015 at 15:20

1 Answer 1

2

As far as I understand, regarding the Stripe transfers, you are able to send money to a credit card / bank account, even if those isn't registered with Stripe.

Actually, you cannot send money to a credit card or bank account if it is not linked to a connected account.

1
  • Is there any way around in stripe so that I can send money to cards?
    – Ninja
    Commented Apr 29, 2019 at 9:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.