Polkadot · x402
Accept blockchain payments with HTTP 402.
A payment facilitator for Polkadot Hub TestNet that handles HTTP 402 Payment Required responses. Automatically verifies payments, settles transactions on-chain, and includes a client SDK that handles the entire payment flow. Works with native PAS tokens.
Facilitator status
Online
Verify
23 msSettle
1 tx / secNetwork
Polkadot Hub TestnetWhat it does
Verify payments and settle transactions automatically.
When your API returns HTTP 402, this facilitator verifies the payment signature, settles the transaction on-chain, and delivers the protected resource. Includes client SDK for automatic payment handling and works with native PAS tokens.
Payment Verification
Validates payment signatures using EIP-712. Checks amount, recipient, and network match requirements.
On-Chain Settlement
Automatically signs and broadcasts transactions. Handles gas fees and returns transaction hashes.
Polkadot Hub TestNet
EVM-compatible test network with native PAS token support. Ready-to-use API endpoints for verify, settle, and supported operations.
Process
How it works
- 1
Verify
Client sends payment authorization. Server verifies signature and payment details match requirements.
- 2
Settle
Server signs and broadcasts the transaction on-chain. Gas fees are handled automatically.
- 3
Deliver
Transaction hash is returned in response headers. Protected resource is delivered to the client.
Current target
Polkadot Hub TestNet
SDK
Client SDK Included
Everything you need to accept payments in your app. Server endpoints for verification and settlement, plus a client SDK that automatically handles HTTP 402 responses and payment creation. Works with native PAS tokens.
API Endpoints
/api/facilitator/verify checks payment signatures. /api/facilitator/settleprocesses transactions. /api/facilitator/supported lists available networks and tokens.
Automatic Payment Handling
Client SDK automatically detects HTTP 402 responses, creates payment authorization (private keys stay on server), and retries the request with payment headers. No manual payment flow code needed.
Native Token Payments
Works with native PAS tokens on Polkadot Hub TestNet. No ERC-20 contracts needed. Also supports ERC-20 tokens if you provide a token address.
Uptime
Production ready and reliable.
Fast verification and settlement times. Transaction hashes returned for your monitoring. Simple API design focused on doing one thing well.
Get Started
Ready to get started?
See the demo for a complete payment flow, or check the documentation for API details and integration guides.