{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpmt-com/json-schema/agentpmt-com-revoke-wallet-credits-request-schema.json",
  "title": "RevokeWalletCreditsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentpmt-com-admin-api-openapi.yml#/components/schemas/RevokeWalletCreditsRequest",
  "properties": {
    "wallet_address": {
      "type": "string",
      "title": "Wallet Address",
      "description": "External agent wallet address (0x-prefixed, 20 bytes)"
    },
    "amount_credits": {
      "type": "integer",
      "exclusiveMinimum": 0.0,
      "title": "Amount Credits",
      "description": "Credit amount to revoke (integer, 100 credits = $1)"
    },
    "reason": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "title": "Reason",
      "description": "Reason for revoking credits"
    },
    "idempotency_key": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Idempotency Key",
      "description": "Stable idempotency key for retry-safe revocations"
    }
  },
  "type": "object",
  "required": [
    "wallet_address",
    "amount_credits",
    "reason",
    "idempotency_key"
  ]
}