VPS billing
VPS billing endpoints for your Cloud API integration.
Calculate VPS price
Choose a plan, location and OS from the catalog. Supply exactly one of password or ssh_public_key, including in the quote request. The SSH key is a single OpenSSH public-key line (Ed25519, RSA or ECDSA). cpu_percent defaults to 60, months to 1 and auto_renew to false. api_user_id is your own customer identifier.
Buy a VPS
Choose a plan, location and OS from the catalog. Supply exactly one of password or ssh_public_key, including in the quote request. The SSH key is a single OpenSSH public-key line (Ed25519, RSA or ECDSA). cpu_percent defaults to 60, months to 1 and auto_renew to false. api_user_id is your own customer identifier.
Calculate VPS renewal
Adds the selected number of calendar months to the current paid term, or starts from the current time if it has expired. Uses current prices, markup and term discount. Renew before the service is deleted.
Renew a VPS
Adds the selected number of calendar months to the current paid term, or starts from the current time if it has expired. Uses current prices, markup and term discount. Renew before the service is deleted.
Calculate plan upgrade
Only upgrades are supported: CPU resources, RAM, disk and included traffic cannot decrease. Omit cpu_percent to keep the current share. The surcharge covers the remaining paid calendar periods at current plan prices with their originally purchased term discounts. paid_until does not change. expected_amount_usd is the maximum accepted surcharge, since it may decrease with time.
Upgrade VPS plan
Only upgrades are supported: CPU resources, RAM, disk and included traffic cannot decrease. Omit cpu_percent to keep the current share. The surcharge covers the remaining paid calendar periods at current plan prices with their originally purchased term discounts. paid_until does not change. expected_amount_usd is the maximum accepted surcharge, since it may decrease with time.
Calculate extra traffic
traffic_tb is an integer; one unit is 1099511627776 bytes (1024⁴). Extra traffic has a fixed price without integration markup and applies only to the current traffic period. Copy expected_period_id from the quote into the purchase to detect a period change (409 quote_expired).
Buy extra traffic
traffic_tb is an integer; one unit is 1099511627776 bytes (1024⁴). Extra traffic has a fixed price without integration markup and applies only to the current traffic period. Copy expected_period_id from the quote into the purchase to detect a period change (409 quote_expired).
VPS auto-renewal
Changes the auto-renewal setting without charging the balance or extending the paid term. The default is false. See the lifecycle guide for renewal timing, duration and pricing.