Preloader

Create Virtual Bank Account

Endpoint: POST https://fastpays.io/api/virtual-bank/new-customer/
Parameter Type Comments
email string required To receive Payment Notifications
account_name string required Bank Account Name
phone string required Phone number
webhook_url string required Provide webhook url to get auto notification
public_key string required fastPays Public Key
Just request to that endpoint with all parameter listed below:
                    
                        Request Example (guzzle)
                        

<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://fastpays.io/api/virtual-bank/new-customer/', [
'headers' => [
  'accept' => 'application/json',
 ],
]);
'form_params' => [
  'email' => 'email',
  'account_name' => 'account_name',
  'phone' => 'phone',
  'webhook_url' => 'webhook_url',
  'public_key' => 'YourPublicKey',
 ],
]);
echo $response->getBody();