PHP code example of apistax / client

1. Go to this page and download the library: Download apistax/client library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

apistax / client example snippets




$config = new \APIstax\Configuration();
$config->setApiKey("API_KEY");

$client = new \APIstax\APIstaxClient($config);

$payload = new \APIstax\Models\VatVerificationPayload();
$payload->setVatId("VAT_ID");

$result = $this->client->verifyVatId($payload);