This document describes how to integrate and use the x402 protocol through the MathPay Facilitator service.
MathPay Facilitator URL : https://facilitator.mathpay.org
1. Register a MathPay Account
Please register and log in to your MathPay account : https://app.mathpay.org
Guide: https://blog.mathwallet.org/?p=4854
2. Complete KYC and Obtain Your API Key
After completing KYC, you can view and manage your MathPay API Key under
Settings → API.

3. Include Your API Key in Requests
When calling the /verify or /settle endpoints of the MathPay Facilitator, you must include your API Key in the request header as follows:
X402-MATHPAY-API-KEY: your-mathpay-api-key
Supported Endpoints
The MathPay Facilitator currently supports the following endpoints:
• /verify
• /settle
Supported Networks
MathPay Facilitator currently supports the x402 protocol on:
base-sepolia
x402 Architecture Overview

Reference Documentation
x402 Protocol Official Documentation:https://x402.gitbook.io/x402