Php 条纹-向信用卡/银行汇款
据我所知,关于Stripe转账,您可以向信用卡/银行账户汇款,即使这些账户未在Stripe注册 根据他们的API,我想出了以下代码将钱发送到信用卡:Php 条纹-向信用卡/银行汇款,php,stripe-payments,Php,Stripe Payments,据我所知,关于Stripe转账,您可以向信用卡/银行账户汇款,即使这些账户未在Stripe注册 根据他们的API,我想出了以下代码将钱发送到信用卡: $amount = inputFilter($_POST['amount']); $amount = $amount*100; $destination = "card_6WWSXFfQsZEc66"; //Card data is a test card #$customer = \Stripe\Customer::re
$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代码中得到的响应如下:
卡_6WWSXFfQsZEc66未附加到此条带帐户。
外部帐户只能附加到独立的条带帐户
通过仪表板
我误解了什么吗?难道你不应该能够将资金从你自己的Stripe账户转移到独立的银行/信用卡上吗
据我所知,关于Stripe转账,您可以向信用卡/银行账户汇款,即使这些账户未在Stripe注册
实际上,如果信用卡或银行帐户未链接到连接的帐户,则无法将钱发送到该帐户。“只能通过仪表板连接外部帐户。”。所以您是否在仪表板中附加了此外部信用卡?@MarcB但“附加”-在本例中这是什么意思?附加表示已添加。您不能仅为托管帐户将卡添加为独立帐户的目的地。有没有办法在条带中进行添加,以便我可以向卡汇款?