API Commands
[All Commands]

Command: Prices



command Prices

Get Prices for TLD from account

Input Parameters ($data):

string ssid Token from Login
string tld Requested TLD

Output Responses:

string status ok | error
array data Prices

Sample:


<?php
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/soap/cmd.php",
            
"uri" => "http://PRODUCTION/soap"
            
)
        );

$params = array ( 
    
"data" => array (
        
"login" => "demo",
        
"password" => "password",
    )
);

$response $client->__call("Login",$params);

$token $response["data"]["ssid"];

unset(
$params);

$params = array (
    
"data" => array (
            
"ssid" => $token,
            
"tld" => "com",
    )
);

$response $client->__call("Prices",$params);

?>
INPUT: [data] => Array ( [ssid] => 29ae201e12b466c7347a29 [tld] => �com ) OUTPUT: [status] => ok [data] => Array ( [register] => 9.56 [renew] => 9.56 [restore] => 60 [transfer] => 9.56 )

API Manual - version from 2023-05-12 12:15:50