Welcome
Welcome to the Meridian API documentation. This guide covers all endpoints for x402 payments and receiver wallet features.Base URL
All API requests are made to the following base URL:Authentication
Meridian Protocol supports API key authentication for server-to-server & client-to-server integrations:Core Endpoints
x402 Payments
Verify Payment
POST /v1/verify
- Verify x402 payment authorizationSettle Payment
POST /v1/settle
- Settle verified paymentSupported Networks
GET /v1/supported
- Get supported payment typesError Handling
All endpoints return consistent error responses:Common Error Codes
NOT_AUTHORIZED
- Missing or invalid authenticationINVALID_SIGNATURE
- Signature verification failedPAYMENT_INVALID
- Payment verification failedRATE_LIMITED
- Too many requestsNETWORK_NOT_SUPPORTED
- Unsupported network
SDKs and Examples
React Hook (Frontend)
Node.js (Backend)
Webhooks (Coming Soon)
Meridian supports webhooks for payment events:payment.verified
- Payment successfully verifiedpayment.failed
- Payment verification failedpayment.settled
- Payment successfully settled