Jump to content

How to RENEW domain using API


Recommended Posts

Hi Friends!

I need use AddOrder for renew domain. Client send me domain name and renew period with API (Payment Kiosk) and I should renew domain.

Bellow my code example. Can you check all is OK?

$command = 'AddOrder';
$postData = array(
	'clientid' => '1', // domain owner userid
	'domain' => array($domainname),
	'domaintype' => array('renew'),
	'paymentmethod' => 'easypay',
	'domainrenewals' => array($domainname => $period)
);

$adminUsername = 'ADMIN_USERNAME';

$results = localAPI($command, $postData, $adminUsername);


Thanks for Advance,

Khachatur.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated