https://fastpays.io/api/bitvcard/create-card/
Parameter | Type | Comments |
---|---|---|
name_on_card | string required | Card Holder's Name |
card_type | string required | put visa |
public_key | string required | fastPays Public Key |
amount | string required | Prefund Amount |
customerEmail | string required | Put your fastPays email |
Request Example (guzzle)
<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://fastpays.io/api/bitvcard/create-card/', [
'headers' => [
'accept' => 'application/json',
],
]);
'form_params' => [
'name_on_card' => 'YourName',
'card_type' => 'YourCardType',
'public_key' => 'YourPublicKey',
'amount' => 'YourAmount',
'customerEmail' => 'YourCustomerEmail',
],
]);
echo $response->getBody();