Send money directly to the client’s bank account using the Braintree payment gateway

Is there an API that directly transfers money to the user's bank account using the Braintree payment gateway?

I want to transfer money every week. I can do a cronjob for this, but want to know if there is any API?

Below I found the 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\ Ladders',
    'dbaName' => 'Jane\ 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);

But I do not understand what to do with the above parameters. What is a route number and how to use other parameters? Can anyone guide me?

+4
source share
1 answer

No.

Braintree - - - . API .

+1

Source: https://habr.com/ru/post/1648677/


All Articles