Developer Center

EN

Buying a New Service

With this API command, "Buying a New Service" process is provided.
METHOD POST
URL < API URL >buy
Content-Type application/json

Parameters
Name Mandatory Description
key Yes Api key information you obtained.
type Yes Type information of the product.
Possible values: hosting, server, software, special, sms
id Yes ID number of the product.
period_type No Period information of the product.
Possible values: none, year, month, week, day, hour
period_duration Yes Period time of the product.
options[...array...] Optional If the product requires information such as "domain, hostname, nameserver, password, IP", it can be sent within this parameter. 

Sample Request

{
	"key":"< API KEY >",
	"type":"hosting",
	"id":100,
	"period_type":"month",
	"period_duration":1,
	"options":
	{
		"domain":"example.com"
	}
}

Sample Output

{
	"status":"successful",
	"invoice_id":123,
	"order_id":1001,
	"fee":9.99,
	"fee_formatted":"$9.99",
}
 
Listing Products/Services Service Time Renewal

Do you have any questions?

We have a great team to answer your queries
Contact Us
Copyright © 2020. All rights reserved.
Join Our Discord Channel
Top