Bitcoin
3799.00 USD
3201.80 EUR
Litecoin
49.38 USD
41.40 EUR
Ethereum
289.54 USD
244.16 EUR
Dashcoin
343.36 USD
288.16 EUR

API

API overview


Methods


Start

TierraPay API allows you to create an application that provides management of debit cards.

For the convenience of using the TierraPay API, we suggest using the PHP class. You can download it here. For the correct operation of the class, you will need a curl library and json functions, as a rule, they are integrated into the PHP language.

Activation

To activate the API, you need to contact us via [email protected]. After that we will send you the application identifier (сlientId) and the secret (secret) that will be needed for authorization.

Use

As an example, below is the code that will order a Virtual Card USD.

Example (php)
<?php
require_once dirname(__FILE__).'/class.tierrapay.php';

$model=new TierraPay(1,'Ohs6s23s');

$ret=$model->send('setQueueCardCreate',array(
	'cardCurrency'=>'usd',
	'cardType'=>1,
));