Skip to main content
POST
/
compute
/
instances
/
{id}
/
extend
Extend compute instance expiry
curl --request POST \
  --url https://api.x402layer.cc/compute/instances/{id}/extend \
  --header 'Content-Type: application/json' \
  --data '
{
  "extend_hours": 123,
  "network": "base"
}
'
{
  "x402Version": 123,
  "accepts": [
    {
      "scheme": "<string>",
      "network": "<string>",
      "maxAmountRequired": "<string>",
      "resource": "<string>",
      "description": "<string>",
      "payTo": "<string>",
      "asset": "<string>"
    }
  ]
}

Path Parameters

id
string<uuid>
required

Body

application/json
extend_hours
integer
required
network
enum<string>
Available options:
base,
solana

Response

Instance extended