---
title: "Verify an x402 payment grant"
method: POST
path: "/x402/verify"
tags: ["x402 Core"]
---

# Verify an x402 payment grant

`POST /x402/verify`

## Request

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

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

## Request body

- VerifyRequest
  - `payment_header` string, required: Base64-encoded x402 payment header (EIP-712 signed)
  - `resource` string, required: URL of the resource being paid for
  - `required_amount` string: Required amount in USDC atomic units (6 decimals)

## Response `200`

Payment is valid

- VerifyResponse
  - `valid` boolean
  - `amount` string
  - `payer` string
  - `message` string

## Other responses

- `400`: Invalid or insufficient payment

---

[API](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api.md) · [All operations](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api/revisions/33ece6814ac9?raw)
