使用braintree支付网关

时间:2016-07-21 16:17:39

标签: php paypal payment-gateway braintree

是否存在使用Braintree支付网关将资金直接转入用户银行帐户的API?

我想每周汇款。为此,我可以制作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);

但我不知道如何处理上述选项。什么是路由号码以及如何使用其他选项? 谁能指导我?

1 个答案:

答案 0 :(得分:4)

没有

Braintree是信用卡付款网关 - 其​​目的是帮助您接受来自客户的信用卡付款。它不是通用的财务API,也不包含任何发送或接收银行转帐的功能。