Purchase new virtual machine
VPS_purchaseNewVirtualMachineV1Purchase and provision a new virtual machine by specifying a catalog item ID and setup parameters. Optionally apply coupons or select a payment method; default is used otherwise.
Instructions
Purchase and setup a new virtual machine.
If virtual machine setup fails for any reason, login to hPanel and complete the setup manually.
If no payment method is provided, your default payment method will be used automatically.
If the response is 202 Accepted, the payment is still being processed and the virtual machine
was not set up. Login to
hPanel and complete the setup manually.
Use this endpoint to create new VPS instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setup | Yes | setup parameter | |
| coupons | No | Discount coupon codes | |
| item_id | Yes | Catalog price item ID | |
| payment_method_id | No | Payment method ID, default will be used if not provided |