Layerbeat

Read server renewal settings and prices

GET
/v1/vms/{id}/renewal

Returns renewal prices, automatic renewal settings and deadlines for this VPS.

Access: API key: vm:read · Session: any workspace role.

Authorization

headerAuthorizationBearer <token>

Send Authorization: Bearer <token>. A token is an API key (lb_live_…, scoped, for programs) or a session (lb_sess_…, from signup or login, for people). See Authentication above.

Path Parameters

id*string

The resource id.

Query Parameters

currency?string

Currency for manual renewal options; automatic consent keeps its own saved currency.

Value in"USD""IDR"

Header Parameters

X-Org-ID?string

Sessions only: act on this organization (you must be a member). Default: your first organization.

Response Body

Renewal settings and available terms

application/json
  1. response
currency?string
Value in"USD""IDR"
price_currency?string
Value in"USD""IDR"
auto_renew*boolean
can_manage*boolean
renewals_enabled*boolean
term_months*integer
Value in1312
maximum_amount*string
renew_at*|
Formatdate-time
renewal_deadline*|

Recorded expiry plus eight days for a Layerbeat-purchased server. No new renewal reserves credit at or after this time. Null for imports without an original purchaser.

Formatdate-time
deletion_at*|

Earliest removal from Layerbeat, only when the local subscription closure gate and renewals are enabled. Pending or uncertain renewals block closure. This does not authorize physical infrastructure deletion or confirm data erasure.

Formatdate-time
active_operation_id*string|null
options*array<>
curl -X GET 'https://layerbeat.com/v1/vms/string/renewal?currency=IDR'
{  "auto_renew": false,  "can_manage": true,  "renewals_enabled": false,  "term_months": 1,  "maximum_amount": "12.00",  "renew_at": "2026-10-29T10:00:00Z",  "renewal_deadline": "2026-11-08T10:00:00Z",  "deletion_at": null,  "active_operation_id": null,  "options": [    {      "term_months": 1,      "amount": "12.00"    }  ]}