API

API overview


Methods


Start

{ProjectName} 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

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,
));