{
  "x402Version": 2,
  "id": 28505,
  "slug": "28505",
  "resource": "https://api.clawinabox.xyz/paid/v1/guard/check",
  "description": "Spend-policy verdict for AI agents: POST a proposed spend, get allow/review/deny with the exact rules that fired (per-tx caps, per-agent daily ledger, destination allowlists, time windows) - 'review' can page a human on Telegram for approval before the agent proceeds. Pay per call.",
  "type": "http",
  "serviceName": "Claw-in-a-Box",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784104612/bazaar-icons/aa9a3fe7c67cb4d6.png",
  "resourceType": "Legal",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x46f297e342bc0B44b9f9C427e53C56E9f83bb660",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "agent_id": "agent-7",
            "amount": 150,
            "destination": "merchant-x",
            "policy": "standard"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "approval_id": "apr_9f2c1a",
            "poll": "/v1/approvals/apr_9f2c1a",
            "reasons": [
              "amount 150 exceeds review threshold 100"
            ],
            "triggered": [
              "review_threshold"
            ],
            "verdict": "review"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "agent_id": {
                    "description": "stable id of the spending agent (per-agent daily ledger)",
                    "type": "string"
                  },
                  "amount": {
                    "description": "proposed spend amount",
                    "type": "number"
                  },
                  "destination": {
                    "description": "optional payee / merchant identifier checked against allowlists",
                    "type": "string"
                  },
                  "policy": {
                    "description": "preset name (conservative|standard|permissive) or inline policy object",
                    "type": "string"
                  },
                  "wait": {
                    "description": "if the verdict is 'review', block until a human approves/denies on Telegram (default 120s timeout)",
                    "type": "boolean"
                  }
                },
                "required": [
                  "agent_id",
                  "amount"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "infra",
    "ai-agents",
    "spend-guard",
    "policy",
    "human-in-the-loop",
    "bazaar"
  ],
  "sourceHost": "api.clawinabox.xyz",
  "lastUpdated": "2026-10-11T08:06:19.679Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-11T08:06:19.375Z"
  },
  "metadata": {
    "serviceName": "Claw-in-a-Box",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784104612/bazaar-icons/aa9a3fe7c67cb4d6.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "agent_id": "agent-7",
              "amount": 150,
              "destination": "merchant-x",
              "policy": "standard"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "approval_id": "apr_9f2c1a",
              "poll": "/v1/approvals/apr_9f2c1a",
              "reasons": [
                "amount 150 exceeds review threshold 100"
              ],
              "triggered": [
                "review_threshold"
              ],
              "verdict": "review"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "agent_id": {
                      "description": "stable id of the spending agent (per-agent daily ledger)",
                      "type": "string"
                    },
                    "amount": {
                      "description": "proposed spend amount",
                      "type": "number"
                    },
                    "destination": {
                      "description": "optional payee / merchant identifier checked against allowlists",
                      "type": "string"
                    },
                    "policy": {
                      "description": "preset name (conservative|standard|permissive) or inline policy object",
                      "type": "string"
                    },
                    "wait": {
                      "description": "if the verdict is 'review', block until a human approves/denies on Telegram (default 120s timeout)",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "agent_id",
                    "amount"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.clawinabox.xyz",
    "manifest_name": "api.clawinabox.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": {
    "example": {},
    "type": "string"
  }
}