Calculate IPv4 purchase
POST/vms/:vm_id/ips/quote
Buys one extra IPv4 for months=1/3/6/12/24/36 calendar months (default 1) and attaches it to this VPS. Price is the fixed monthly rate times months, without integration markup or term discount. Its payment term and auto-renewal are independent of the VPS. A VPS can have at most 10 IPv4 including the primary address.
This calculation creates no order, charge or reservation. It can be called with an insufficient balance. Use amount_usd as expected_amount_usd when confirming the purchase.
Request rules and errors · Lifecycle · Webhooks
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 422
- 500
- 503
Successful response
Missing or invalid key, mismatched ID, or inactive integration
Client IP is not in the integration allowlist (ip_not_allowed).
Resource not found in this integration
Business or state conflict; inspect detail
Invalid request fields or unsupported parameters
Unexpected server error
Service unavailable or result unconfirmed; for a mutation retain its idempotency key