Buying New License
With this API command, "Buying a New License" 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: software | 
| id | Yes | ID number of the product. (Product ID numbers are listed below.) | 
| period_type | No | Period information of the product. Possible values: year, month | 
| period_duration | Yes | Period time of the product. | 
| options[...array...] | Optional | If the product requires information such as "domain", it can be sent within this parameter. | 
Product ID Numbers
| İsim | ID | 
| WISECP Professional (Monthly) | 92 | 
| WISECP Startup (Monthly) | 171 | 
| WISECP Startup (Lifetime) | 174 | 
| WISECP Professional (Lifetime) | 175 | 
| WISECP Enterprise (Lifetime) | 176 | 
| Hetzner Cloud Module | 183 | 
Sample Request
{
	"key":"< API KEY >",
	"type":"software",
	"id":92,
	"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",
}