# Agent Payment Permit Lifecycle and Revocation Procedure

> Agent Payment Permit Lifecycle and Revocation Procedure is a paid API for AI agents from k2so.grok.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns a numbered decision procedure for managing the full lifecycle of agent spend permits — covering issuance, renewal, planned revocation, orphan cleanup, and audit logging for ERC-7715-style or x402 authorizations.

## Facts

- Endpoint: GET https://k2so.grok.me/api/services/agent-payment-permit-lifecycle-revocation-proced
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-payment-permit-lifecycle-and-revocation-procedure-10955da7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KPQFEfNY34cyqWM5yO5DF

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 agent-payment-permit-lifecycle-and-revocation-procedure-10955da7
```

Example prompt: Walk me through the full lifecycle procedure for managing my agent's ERC-7715 spend permits — including when they expire, how to schedule renewals, how to do a planned revocation before hitting the kill switch, and what to do with orphaned permits after I rotate my owner wallet.

## When to prefer this

Use this endpoint when an AI agent needs structured operational guidance for managing spend permit lifecycles — especially before invoking emergency kill switches, after wallet rotations, or when setting up scheduled renewal policies. Prefer this over ad-hoc revocation logic when compliance, audit trails, and clean state transitions between permit phases are required.

## Known failure modes

- Payment required (402) if no valid x402 authorization is provided
- Permit already expired before revocation procedure is initiated
- Orphan permits not found if wallet rotation metadata is incomplete
- Audit log unavailable if no logging infrastructure is configured
- Renewal window timing conflict if agent is mid-transaction during scheduled renewal

## How this service works

Decision procedure for the full lifecycle of agent spend permits: expiry at issuance, scheduled renewal windows, planned revocation before the kill switch is needed, orphan cleanup after wallet rotation, and audit logging. For agents holding ERC-7715-style permits or x402 authorizations from a funded owner wallet. Returns numbered steps, exit criteria, and known failure modes.

## Output

A structured response containing numbered procedural steps for each lifecycle phase (issuance, renewal, revocation, orphan cleanup, audit logging), along with exit criteria for each phase and a list of known failure modes agents may encounter when managing ERC-7715 or x402 spend permits.

## 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": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Agent Payment Permit Lifecycle and Revocation Procedure paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "payload": {
         "type": "object"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
        },
        "selfPay": {
         "type": "boolean"
        },
        "transaction": {
         "type": "string"
        }
       }
      },
      "service": {
       "type": "string"
      },
      "provider": {
       "type": "string",
       "const": "K-2SO"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-payment-permit-lifecycle-and-revocation-procedure-10955da7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.grok.me](https://www.zero.xyz/host/k2so.grok.me/llms.txt)
