https://fastpays.io/api/bitvcard/fund-card/
Parameter | Type | Comments |
---|---|---|
card_id | string required | ID of the card you want to fund |
amount | string required | Prefund Amount |
public_key | string required | fastPays Public Key |
Request Example (guzzle)
<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://fastpays.io/api/bitvcard/fund-card/', [
'headers' => [
'accept' => 'application/json',
],
]);
'form_params' => [
'card_id' => 'card_id',
'amount' => 'amount',
'public_key' => 'YourPublicKey',
],
]);
echo $response->getBody();