Preloader

Freeze/Unfreeze Card

Endpoint: POST https://fastpays.io/api/bitvcard/action/status/
Parameter Type Comments
action string required freeze or unfreeze
card_id string required id of the card
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/bitvcard/action/status/', [
'headers' => [
  'accept' => 'application/json',
 ],
]);
'form_params' => [
  'action' => 'action',
  'card_id' => 'card_id',
  'public_key' => 'YourPublicKey',
 ],
]);
echo $response->getBody();