Build With x402
This section is for API developers, merchants, and integrators who want to monetize endpoints with x402.
Its job is to own the package and implementation truth for @dexterai/x402.
Three building blocks:
@dexterai/x402SDK — client and server libraries for payment flows- Dexter facilitator — verification and on-chain settlement at
x402.dexter.cash - OpenDexter marketplace — automatic discovery once your endpoint is live
@dexterai/x402 Package
Canonical package overview: install, exports, supported runtimes, and when to use each surface.
Merchant Quickstart
The shortest path from an endpoint to paid x402 traffic.
Browser Client
Handle 402 flows automatically in wallet-connected browser apps.
React
Payment-aware React hooks for balances, transactions, and UI state.
Access Pass
Pay once and reuse access instead of signing every request.
Dynamic Pricing
Price by payload size, records, or other measurable usage.
Token Pricing
Price LLM-backed endpoints using token-aware quoting.
Publishing and Discovery
How your endpoint gets found in the OpenDexter marketplace.
Seller Operations
Seller dashboard, verification monitoring, alerts, and profile management.
Use This Section For
- package installation and setup
- seller-side implementation
- client and server SDK behavior
- pricing models and access models
If you are trying to understand OpenDexter as a product or hosted runtime, use OpenDexter Tools instead.