x402 Core

Verify an x402 payment grant

Verify an incoming EIP-712 signed x402 payment grant. Returns whether the payment is valid and sufficient for the requested resource. Free to call.

post/x402/verify

Request

  • Base URL: https://x402-agent-pay.com
  • URL: https://x402-agent-pay.com/x402/verify
  • Auth: none declared

Request body

payment_headerstring required

Base64-encoded x402 payment header (EIP-712 signed)

resourcestring required

URL of the resource being paid for

required_amountstring

Required amount in USDC atomic units (6 decimals)

Response

Payment is valid

validboolean
amountstring
payerstring
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.