{
  "x402Version": 2,
  "id": 40808,
  "slug": "40808",
  "resource": "https://vps.phoneagent.xyz/rentals/:id/renew",
  "description": "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.",
  "type": "http",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8eCbd65228930060363C70854da7D37D57ffC358",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "14990000",
      "amountUsd": 14.99,
      "maxTimeoutSeconds": 43200
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "periods": 1
          },
          "bodyType": "json",
          "method": "POST",
          "pathParams": {
            "id": "Unique identifier (UUID format)"
          },
          "queryParams": {
            "periods": "1",
            "token": "rt_xxxxxxxxxxxx"
          },
          "type": "http"
        },
        "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"
          },
          "type": "json"
        }
      },
      "routeTemplate": "/rentals/:id/renew",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "type": "object"
              },
              "bodyType": {
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "queryParams": {
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "vps.phoneagent.xyz",
  "lastUpdated": "2026-09-26T14:18:01.332Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-26T14:18:01.191Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "periods": 1
            },
            "bodyType": "json",
            "method": "POST",
            "pathParams": {
              "id": "Unique identifier (UUID format)"
            },
            "queryParams": {
              "periods": "1",
              "token": "rt_xxxxxxxxxxxx"
            },
            "type": "http"
          },
          "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"
            },
            "type": "json"
          }
        },
        "routeTemplate": "/rentals/:id/renew",
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "type": "object"
                },
                "bodyType": {
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "vps.phoneagent.xyz",
    "manifest_name": "vps.phoneagent.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "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"
  }
}