Seller Integration
Overview
What You Need
Step 1: Install Dependencies
Step 2: Configure Your Server
Step 3: Set Up Payment Middleware
Option A: Using the x402 Express Package
Option B: Build Your Own 402 Response
Step 4: Build Your Payment Options
Accept Only USDC (Simplest)
Accept Multiple Tokens
Use the Facilitator's Price API
Step 5: Using the Fee Splitter (Optional)
Step 6: Register in the Discovery Bazaar (Optional)
Important Rules
Amount Conversion
Token
Decimals
$0.01 in base units
Cache Control
Timeout
x402 Version
How the Client Pays
What You Handle vs What the Facilitator Handles
You (the seller)
Silverback Facilitator
Testing
On Testnet (Base Sepolia)
On Mainnet
Verify Facilitator Connectivity
Troubleshooting
Problem
Solution
Need Help?
Last updated