php – 使用braintree支付网关直接向客户的银行账户汇款
作者:互联网
是否有API使用Braintree支付网关直接将钱转移到用户的银行账户?
我想每周汇款.为此,我可以制作cronjob,但想知道是否有任何API?
我在下面的link中找到了:
$merchantAccountParams = [
'individual' => [
'firstName' => 'Jane',
'lastName' => 'Doe',
'email' => 'jane@14ladders.com',
'phone' => '5553334444',
'dateOfBirth' => '1981-11-19',
'ssn' => '456-45-4567',
'address' => [
'streetAddress' => '111 Main St',
'locality' => 'Chicago',
'region' => 'IL',
'postalCode' => '60622'
]
],
'business' => [
'legalName' => 'Jane\'s Ladders',
'dbaName' => 'Jane\'s Ladders',
'taxId' => '98-7654321',
'address' => [
'streetAddress' => '111 Main St',
'locality' => 'Chicago',
'region' => 'IL',
'postalCode' => '60622'
]
],
'funding' => [
'descriptor' => 'Blue Ladders',
'destination' => Braintree_MerchantAccount::FUNDING_DESTINATION_BANK,
'email' => 'funding@blueladders.com',
'mobilePhone' => '5555555555',
'accountNumber' => '1123581321',
'routingNumber' => '071101307'
],
'tosAccepted' => true,
'masterMerchantAccountId' => "14ladders_marketplace",
'id' => "blue_ladders_store"
];
$result = Braintree_MerchantAccount::create($merchantAccountParams);
但我不知道如何处理上述选项.什么是路由号码以及如何使用其他选项?
谁能指导我?
解决方法:
没有.
Braintree是一个信用卡支付网关 – 其目的是帮助您接受客户的信用卡付款.它不是通用的财务API,也不包含任何发送或接收银行转帐的功能.
标签:php,paypal,payment-gateway,braintree 来源: https://codeday.me/bug/20190702/1353515.html