API Commands
[All Commands]

Order: AccountTransfer_Domain



order type AccountTransfer_Domain

Transfer domain between two Subreg.CZ accounts.

Input Parameters ($params):

int type Method of authorization:
1 - authorization on account email
2 - authorization on owner email
3 - authorization using password, necessary to fill authid)
string authid Authorization password, only for type=3
integer autorenew Set autorenew (1 - yes, 0 - no)

Sample:


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

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

$response $client->__call("Login",$params);
$token $response["data"]["ssid"];

$params = array (
  
'data' => 
  array (
    
'ssid' => $token,
    
'order' => 
    array (
      
'domain' => 'domain.com',
      
'type' => 'AccountTransfer_Domain',
      
'params' => 
      array (
        
'type' => 3,
        
'authid' => urlencode("12345678"),
        
'autorenew' => 1,
      ),
    ),
  ),
);

$response $client->__call("Make_Order",$params);
INPUT: Array ( [data] => Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [order] => Array ( [domain] => domain.com [type] => AccountTransfer_Domain [params] => Array ( [type] => 3 [authid] => urlencode("12345678") [autorenew] => 1 ) ) ) ) OUTPUT: Array ( [status] => ok [data] => Array ( [orderid] => 1279216 ) )

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