Skip to main content
POST
Order a VPS and pay for it externally

Authorizations

Authorization
string
header
required

An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….

Body

application/json
name
string
required
Required string length: 1 - 100
datacenterId
string
required
Minimum string length: 1
planId
string
required
Minimum string length: 1
templateId
string
required
Minimum string length: 1
duration
number
required
Required range: 7 <= x <= 90
method
string
required

Payment method slug, e.g. credit_cards. See GET /payments/methods

Minimum string length: 1
description
string
Maximum string length: 1000
templateImageSlug
string
Minimum string length: 1
inputs
object
vmPassword
string
Minimum string length: 8
sshKeyId
string<uuid>
memberIds
string<uuid>[]
currency
string
default:USD
Required string length: 3
couponCode
string
Required string length: 1 - 64

Response

VPS order created successfully

success
enum<boolean>
required
Available options:
true
message
enum<string>
required
Available options:
VPS order created successfully
data
Transaction · object
required

Schema for Transaction model

Example: