Skip to main content
POST
/
compute
/
instances
/
{id}
/
extend
Extend compute instance expiry
curl --request POST \
  --url https://compute.x402layer.cc/compute/instances/{id}/extend \
  --header 'Content-Type: application/json' \
  --data '
{
  "extend_hours": 123
}
'
{
  "x402Version": 123,
  "accepts": [
    {
      "scheme": "<string>",
      "network": "<string>",
      "maxAmountRequired": "<string>",
      "resource": "<string>",
      "description": "<string>",
      "payTo": "<string>",
      "asset": "<string>"
    }
  ],
  "api_schema": {
    "baseUrl": "<string>",
    "routes": [
      {
        "path": "/users/{id}",
        "summary": "<string>",
        "parameters": [
          {
            "name": "<string>",
            "required": true,
            "description": "<string>",
            "example": "<string>"
          }
        ],
        "requestBody": {
          "fields": [
            {
              "name": "<string>",
              "required": true,
              "description": "<string>",
              "example": "<string>"
            }
          ],
          "example": "<string>"
        },
        "responseExample": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.x402layer.cc/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string<uuid>
required

Body

application/json
extend_hours
integer
required
network
enum<string>

x402 payment network. MPP clients use Authorization: Payment and do not need this field.

Available options:
base,
solana

Response

Instance extended