resellersrs-x:check_faktur

Deskripsi

check_faktur

Query

api/admin/check_faktur

List Variabel

Nama Tipe Data
transactionid Integer Required Transactionid

Contoh

$post["username"] = 'user@username.com'
$post["password"] = hash('password');
$post["transactionid"] = '
$url = http://[admin url ]/api/admin/check_faktur';

$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);
curl_close($ch);

Respon Contoh

Berhasil

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <faktur>pending</faktur>
  </resultData>
</epp>


<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <faktur>skip</faktur>
  </resultData>
</epp>


<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <faktur>available</faktur>
  </resultData>
</epp>

Gagal

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1001</resultCode>
    <resultMsg>Command Failed</resultMsg>
  </result>
</epp>

resellersrs-x:checktransfer

Deskripsi

check_transfer

Query

api/admin/check_transfer

List Variabel

Nama Tipe Data
resellerid Integer Required Resellerid
domain Varchar Requred Domain

Contoh

$post["username"] = 'user@username.com'
$post["password"] = hash('password');
$post["resellerid"] = '3'
$post["domain"] = 'domain.co.id'
$url = http://[admin url ]/api/admin/check_transfer';

$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);
curl_close($ch);

Respon Contoh

Berhasil

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <status>transfered</status>
    <date>1367990964</date>
  </resultData>
</epp>

Gagal

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1001</resultCode>
    <resultMsg>Command Failed</resultMsg>
  </result>
</epp>

resellersrs-x:get_admintransaction

Deskripsi

get_admintransaction

Query

api/admin/get_admintransaction

List Variabel

Nama Tipe Data Required
transactionid Integer Optional in transaction (10)
limit Integer Optional Limit (10)
offset Integer Optional offset(0)

Contoh

$post["username"] = 'user@username.com'
$post["password"] = hash('password');
$post["transactionid"] = '10'
$post["limit"] = '10'
$post["offset"] = '0'
$url = http://[admin url ]/api/admin/get_admintransaction';

$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);
curl_close($ch);

Respon Contoh

Berhasil

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <value>
      <transactionid>110</transactionid>
      <date>1367859600</date>
      <resellerid>3</resellerid>
      <domain>application3.co.id</domain>
      <note>transfer application3.co.id (1 tahun)</note>
      <type>transfer</type>
      <class>ID</class>
      <amount>77000.00</amount>
    </value>
    <value>
      <transactionid>111</transactionid>
      <date>1368378000</date>
      <resellerid>3</resellerid>
      <domain>domaincepatbanget.web.id</domain>
      <note>registrasi domaincepatbanget.web.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>40000.00</amount>
    </value>
    <value>
      <transactionid>112</transactionid>
      <date>1368378000</date>
      <resellerid>3</resellerid>
      <domain>cpt4.co.id</domain>
      <note>registrasi cpt4.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>77000.00</amount>
    </value>
  </resultData>
</epp>

Gagal

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1001</resultCode>
    <resultMsg>Command Failed</resultMsg>
  </result>
</epp>

resellersrs-x:get_deposit

Deskripsi

get_deposit

Query

api/admin/get_deposit

List Variabel

Nama Tipe Data Required
transactionid Integer Optional in transaction (10)
limit Integer Optional Limit (10)
offset Integer Optional offset(0)

Contoh

$post["username"] = 'user@username.com'
$post["password"] = hash('password');
$post["transactionid"] = '10'
$post["limit"] = '10'
$post["offset"] = '0'
$url = http://[admin url ]/api/admin/get_transaction';

$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);
curl_close($ch);

Respon Contoh

Berhasil

xikyu46@linux:~> curl http://srs-x.cq/api/admin/get_deposit -d "username=adminisasi&password=5ac4aae453037e65ef8a2f9a0c1531c18a64e3d517f8c5e3175859ab5bf17298"
<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <value>
      <transactionid>45</transactionid>
      <resellerid>3</resellerid>
      <note>Deposit Reseller 3</note>
      <amount>18181.00</amount>
    </value>
    <value>
      <transactionid>46</transactionid>
      <resellerid>5</resellerid>
      <note>Deposit Reseller 5</note>
      <amount>3000000.00</amount>
    </value>
  </resultData>
</epp>


Gagal

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1001</resultCode>
    <resultMsg>Command Failed</resultMsg>
  </result>
</epp>

resellersrs-x:get_transaction

Deskripsi

get_transaction

Query

api/admin/get_transaction

List Variabel

Nama Tipe Data Required
transactionid Integer Optional in transaction (10)
limit Integer Optional Limit (10)
offset Integer Optional offset(0)

Contoh

$post["username"] = 'user@username.com'
$post["password"] = hash('password');
$post["transactionid"] = '10'
$post["limit"] = '10'
$post["offset"] = '0'
$url = http://[admin url ]/api/admin/get_transaction';

$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);
curl_close($ch);

Respon Contoh

Berhasil

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <value>
      <transactionid>11</transactionid>
      <date>1348678800</date>
      <resellerid>3</resellerid>
      <domain>demodemo.co.id</domain>
      <note>registrasi demodemo.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>12</transactionid>
      <date>1348678800</date>
      <resellerid>4</resellerid>
      <domain>hihihihihiihih.web.id</domain>
      <note>registrasi hihihihihiihih.web.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>45000</amount>
    </value>
    <value>
      <transactionid>17</transactionid>
      <date>1348765200</date>
      <resellerid>9</resellerid>
      <domain>sembadangjaya.co.id</domain>
      <note>registrasi sembadangjaya.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>24</transactionid>
      <date>1348765200</date>
      <resellerid>8</resellerid>
      <domain>ngetesinaja.web.id</domain>
      <note>registrasi ngetesinaja.web.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>45000</amount>
    </value>
    <value>
      <transactionid>26</transactionid>
      <date>1348765200</date>
      <resellerid>9</resellerid>
      <domain>orderduakali.co.id</domain>
      <note>registrasi orderduakali.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>28</transactionid>
      <date>1348765200</date>
      <resellerid>4</resellerid>
      <domain>hihihihihi.co.id</domain>
      <note>registrasi hihihihihi.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>33</transactionid>
      <date>1348851600</date>
      <resellerid>32</resellerid>
      <domain>astybociant.co.id</domain>
      <note>registrasi astybociant.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>36</transactionid>
      <date>1349456400</date>
      <resellerid>3</resellerid>
      <domain>sore-2012.web.id</domain>
      <note>registrasi sore-2012.web.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>45000</amount>
    </value>
    <value>
      <transactionid>37</transactionid>
      <date>1349456400</date>
      <resellerid>3</resellerid>
      <domain>2012-10-06-yeah-faizal-ini.web.id</domain>
      <note>registrasi 2012-10-06-yeah-faizal-ini.web.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>45000</amount>
    </value>
    <value>
      <transactionid>38</transactionid>
      <date>1349456400</date>
      <resellerid>3</resellerid>
      <domain>demo061545.co.id</domain>
      <note>Registrasi Domain demo061545.co.id via API</note>
      <type>register</type>
      <class>ID</class>
      <amount>89000</amount>
    </value>
  </resultData>
</epp>

Gagal

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1001</resultCode>
    <resultMsg>Command Failed</resultMsg>
  </result>
</epp>

resellersrs-x:get_reseller

Deskripsi

get_reseller

Query

api/admin/get_reseller

List Variabel

Nama Tipe Data Required/Optional
resellerid Integer Required resellerid
limit Integer Optional Limit (10)
offset Integer Optional offset(0)

Contoh

$post["username"] = 'user@username.com'
$post["password"] = hash('password');
$post["resellerid"] = '5'
$post["limit"] = '10'
$post["offset"] = '0'
$url = http://[admin url ]/api/admin/get_reseller';

$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);
curl_close($ch);

Respon Contoh

Berhasil

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <value>
      <resellerid>5</resellerid>
      <username>hisam@rumahweb.co.id</username>
      <company>hisam</company>
    </value>
  </resultData>
</epp>

Gagal

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1001</resultCode>
    <resultMsg>Command Failed</resultMsg>
  </result>
</epp>

resellersrs-x:get_resellers

Deskripsi

get_resellers

Query

api/admin/get_resellers

List Variabel

Nama Tipe Data Required/Optional
limit Integer Optional Limit (10)
offset Integer Optional offset(0)

Contoh

$post["username"] = 'user@username.com'
$post["password"] = hash('password');
$post["limit"] = '10'
$post["offset"] = '0'
$url = http://[admin url ]/api/admin/get_resellers';

$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);
curl_close($ch);

Respon Contoh

Berhasil

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <value>
      <resellerid>3</resellerid>
      <username>hisam@rumahweb.co.id</username>
      <company>hisam</company>
    </value>
  </resultData>
</epp>

Gagal

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1001</resultCode>
    <resultMsg>Command Failed</resultMsg>
  </result>
</epp>