Skip to main content
Glama

Check an x402 payment proof (free)

check_payment_proof
Read-only

Free: after paying an x402 endpoint, pass the PAYMENT-RESPONSE header it returned (X-PAYMENT-RESPONSE in v1). Returns the transaction, network and payer it names, whether that transaction exists on-chain and succeeded, and which USDC moved from whom to whom, with an explorer link. Read-only. Limited to 10 calls per hour.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
headerYesThe PAYMENT-RESPONSE header value (base64 JSON)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
checksNo
decodedNoTransaction, network and payer named in the header
onchainNoWhether the transaction exists and succeeded, and the USDC transfers
overallYespass, warn or fail
explorerNoExplorer link for the transaction

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "checks": {
      +      "items": {
      +        "additionalProperties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "decoded": {
      +      "additionalProperties": {},
      +      "description": "Transaction, network and payer named in the header",
      +      "type": "object"
      +    },
      +    "explorer": {
      +      "description": "Explorer link for the transaction",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "onchain": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Whether the transaction exists and succeeded, and the USDC transfers"
      +    },
      +    "overall": {
      +      "description": "pass, warn or fail",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "overall"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.