VP
Agent Service · x402 · early usage

Extend an existing rental's expires_at by N billing periods

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 wit…

by vps.phoneagent.xyz · discovered, not yet claimed by its owner · updated 2026-09-26

30d calls2
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-09-26
Input example from Bazaar metadata
{
  "periods": 1
}
Output example
{
  "current_expires_at": 1782604800000,
  "manual_step": "None — the extension is applied automatically. Poll GET /instance/{id} for progress.",
  "periods": 1,
  "predicted_expires_at": 1785196800000,
  "price_usdc": "14.99",
  "rental_id": "v_xxxxxxxxxxxx",
  "status": "renewing"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/40808.json for the price and payment options.
  3. Pay. Call GET https://vps.phoneagent.xyz/rentals/:id/renew. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$14.99 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
2 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$14.990x8eCbd65228930060363C70854da7D37D57ffC35843200s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x8eCbd65228930060363C70854da7D37D57ffC358",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "14990000",
    "amountUsd": 14.99,
    "maxTimeoutSeconds": 43200
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "current_expires_at": {
          "description": "Existing expires_at; remains in force until renewal settles.",
          "type": "integer"
        },
        "manual_step": {
          "description": "What you have to do. Normally nothing — kept for agents written against the original shape.",
          "type": "string"
        },
        "periods": {
          "description": "Periods actually applied — compare against what you asked for.",
          "type": "integer"
        },
        "predicted_expires_at": {
          "description": "What expires_at will become after worker settles + re-cancels.",
          "type": "integer"
        },
        "price_usdc": {
          "description": "What the signed authorization is for, in USDC.",
          "type": "string"
        },
        "rental_id": {
          "type": "string"
        },
        "status": {
          "enum": [
            "renewing"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "current_expires_at": 0,
    "manual_step": "string",
    "periods": 0,
    "predicted_expires_at": 0,
    "price_usdc": "string",
    "rental_id": "string",
    "status": "renewing"
  },
  "type": "string"
}

Examples

curl
curl -X POST 'https://vps.phoneagent.xyz/rentals/:id/renew' -H 'Content-Type: application/json' --data '{"periods":1}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://vps.phoneagent.xyz/rentals/:id/renew", {
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\"periods\":1}"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
import json
res = httpx.request("POST", "https://vps.phoneagent.xyz/rentals/:id/renew", json=json.loads("{\"periods\":1}"))
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
vps.phoneagent.xyz
Endpoint
https://vps.phoneagent.xyz/rentals/:id/renew
Machine-readable
/resources/40808.json