【问题标题】:Stripe - Sending money to credit card/bankStripe - 向信用卡/银行汇款
【发布时间】:2015-11-06 19:14:31
【问题描述】:

据我了解,关于 Stripe 转账,您可以向信用卡/银行账户汇款,即使这些账户没有在 Stripe 注册。

按照他们的 API,我想出了以下代码来向信用卡汇款:

$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);

我从上面的 PHP 代码得到的响应是这样的:

卡 card_6WWSXFfQsZEc66 未附加到此 Stripe 帐户。 外部账户只能附加到独立的 Stripe 账户 通过仪表板。

我是不是误会了什么?您不应该能够将资金从您自己的 Stripe 帐户转移到独立的银行/信用卡吗?

【问题讨论】:

  • “只能通过仪表板附加外部账户”。那么...您是否在仪表板中附加了这张外部信用卡?
  • @MarcB 但是“附加”——在这种情况下是什么意思?
  • 附加表示添加。您不能仅将卡添加为独立帐户的目标帐户。

标签: php stripe-payments


【解决方案1】:

据我了解,关于 Stripe 转账,您可以向信用卡/银行账户汇款,即使这些账户没有在 Stripe 注册。

实际上,如果信用卡或银行帐户未与关联帐户关联,则您无法向其汇款。

【讨论】:

  • 有什么办法可以让我把钱汇到卡上?
猜你喜欢
  • 2020-08-22
  • 2016-07-18
  • 1970-01-01
  • 2018-11-01
  • 2018-09-26
  • 2016-01-22
  • 2021-06-06
  • 2011-04-27
  • 1970-01-01
相关资源
最近更新 更多