Api Endpoint

x402 Spend Cap/Allowance Check

Check an agent wallet's x402 spend cap before it pays, via Liquid Logic X: send a wallet and optional endpoint URL, get allowed, reason, remainingUsdc, capUsdc, spentUsdc from the published policy. $0.001 USDC on Base.

Open interactive test console

Offering

Provider
audit.liquidlogicx.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://audit.liquidlogicx.com/api/allowance
MIME type
application/json
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
allowance, spend-controls, agent-payments, X402, USDC

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x147991A1c25e78f6D9225d2dBA61eD93A6158c7b"
  }
]

Observed health

Status
Healthy
Latest latency
94 ms
Average latency
203 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "wallet": {
          "type": "string",
          "description": "Agent wallet address to check (0x + 40 hex), e.g. 0x1111111111111111111111111111111111111111"
        },
        "endpoint": {
          "type": "string",
          "description": "Optional x402 URL the wallet wants to pay. Omit to get remaining cap + allowlist summary."
        }
      },
      "required": [
        "wallet"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}