Order a VPS
order_vpsOrder a VPS. product = plan slug from list_plans; os_id = an OS id from that plan's images. Optional hostname and ssh_key (public key — strongly recommended so you get key-based root login).
Branching on the response:
• paid_from_balance: true → the prepaid balance covered it; the server is provisioning. Poll get_vps_status until status is active and the VM is reachable.
• paid_from_balance: false → balance was insufficient; an unpaid invoice is returned. Call pay_invoice with invoice.id to get a crypto checkout_url, OR topup_balance then re-order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os_id | Yes | ||
| product | Yes | ||
| ssh_key | No | ||
| hostname | No |