# VPS Rental Renewal (vps.phoneagent.xyz)

> VPS Rental Renewal (vps.phoneagent.xyz) is a paid API for AI agents from vps.phoneagent.xyz, paid per call via x402, $14.99/call, status unknown (last checked 2026-10-10).

Extends an existing VPS rental's expiration by 1–12 billing periods, settling payment in USDC only after the extension is confirmed.

## Facts

- Endpoint: POST https://vps.phoneagent.xyz/rentals/:id/renew?utm_source=zero.xyz
- Price: $14.99/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vps-rental-renewal-vps-phoneagent-xyz-19ee218a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_syR4BK3BfZLQvmLN1onpZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vps-rental-renewal-vps-phoneagent-xyz-19ee218a -d '<json body>'
```

Example prompt: My phoneagent VPS rental abc-rental-123 is about to expire — can you renew it for 3 more billing periods and pay with USDC?

## When to prefer this

Use this endpoint when you need to extend an already-provisioned, running VPS rental on phoneagent.xyz without losing the existing IP or box assignment. Prefer this over creating a new rental when continuity of the same server instance matters. It is ideal for automated agents that need to keep infrastructure alive with pay-on-success USDC settlement and no signup overhead.

## Known failure modes

- Invalid or non-existent rental ID returns an error
- Periods outside the [1,12] range are rejected
- Insufficient USDC authorization causes payment failure
- Rental already expired may not be renewable
- Settlement worker delay means predicted_expires_at is not guaranteed immediately
- No ?token= probe returns a sample quote rather than executing renewal

## How this service works

Extend an existing rental's expires_at by N billing periods. Pay-on-success: USDC settles only after the extension is actually in place, normally within a minute. Stack cap periods ∈ [1, 12]; price is the original (sku, region) rate × periods, and a probe without ?token= is quoted a sample at the entry rate. Same-box, same-IP — no mid-rental failover. Returns {status: 'renewing', predicted_expires_at} until settle completes; original expires_at remains in force until then.

## Output

Returns a JSON object with status 'renewing', the rental_id, number of periods applied, price_usdc authorized, the current_expires_at (which remains in force until settlement completes), and the predicted_expires_at timestamp once the renewal worker settles the extension — typically within a minute.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "status": {
       "enum": [
        "renewing"
       ],
       "type": "string"
      },
      "periods": {
       "type": "integer",
       "description": "Periods actually applied — compare against what you asked for."
      },
      "rental_id": {
       "type": "string"
      },
      "price_usdc": {
       "type": "string",
       "description": "What the signed authorization is for, in USDC."
      },
      "manual_step": {
       "type": "string",
       "description": "What you have to do. Normally nothing — kept for agents written against the original shape."
      },
      "current_expires_at": {
       "type": "integer",
       "description": "Existing expires_at; remains in force until renewal settles."
      },
      "predicted_expires_at": {
       "type": "integer",
       "description": "What expires_at will become after worker settles + re-cancels."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vps-rental-renewal-vps-phoneagent-xyz-19ee218a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vps.phoneagent.xyz](https://www.zero.xyz/host/vps.phoneagent.xyz/llms.txt)
