Express Transfer

Versi Bahasa Indonesia


This function is used to transfer a domain to SRS-X. Identical with transfer domain but doesn’t require contact data and user information. Only nickhandle and userid required.



List Variable

Name Data Type Required/Optional Description
domain String(63) Required Domain name
api_id Integer(11) Required Any unique value/ID to link this domain with your billing system
periode Integer(2) Required registration period, required value: 1
userid Integer(2) Required userid of registrant
contact_registrant String(63) Required nickhandle of regsitrant
contact_admin String(63) Required nickhandle of admin
contact_billing String(63) Required nickhandle of billing
contact_tech String(63) Required nickhandle of tech
ns1 String(63) Required Nameserver 1
ns2 String(63) Required Nameserver 2
ns3 String(63) Optional Nameserver 3
randomhash String(63) Optional random value, will be used as unique URL for uploading documents


$params['username'] = 'apiusername';
$params['password'] = hash('sha256','apipassword');
$params['domain'] = ''
$params['api_id'] = 12;
$params['periode'] = 1;
$params['userid'] = 4;
$params['contact_registrant'] = '0127g8';
$params['contact_admin'] = '0147emkh';
$params['contact_billing'] = '0155cgrx';
$params['contact_tech'] = '0156ele2';
$params['randomhash'] = 'sembarang';
$params['ns1'] = '';
$params['ns2'] = '';

$url = 'http://[reseller url]/api/domain/expresstransfer';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $apiurl);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 100);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);

Example Response


<?xml version="1.0" encoding="UTF-8"?>
<resultMsg>Transfer initiated succesfully</resultMsg>


<?xml version="1.0" encoding="UTF-8"?>
<resultMsg>Transfer Domain Failed</resultMsg>