API Commands
[All Commands]

Order: Transfer_Domain



order type Transfer_Domain


Transfer domain between two registrars or two account

Input Parameters ($params):

array new New domain details after successfully transfer. Please read the TLD KIT before !
contact registrant Owner contact of new domain
contact admin Admin contact of new domain
array params Any others params for new contacts
string authid Authid for incoming transfer

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,
            
"order" =>  array (
                
"domain" => "domain.or.af",
                
"type" => "Transfer_Domain",
                
"params" =>  array (
                        
"authid" => urlencode("erasdasdasd"),
                        
"new"  => array (
                            
"registrant" => array (
                                
"id" => "G-123456"
                                            
)
                                      ),
            )
            )
    )
);

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

?>
INPUT: [data] => Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [order] => Array ( [type] => Transfer_Domain [domain] => domain.or.af [params] => Array ( [authid] => erasdasdasd [new] => Array ( [registrant] => Array ( [id] => G-123456 ) ) ) ) ) OUTPUT: [status] => ok [data] => Array ( [orderid] => 24 )

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