Authentication
Authentication
x402 Payment Protocol
How x402 Works
Step 1: Make a Request (Get 402)
curl -X POST https://x402.quickintel.io/v1/tator/prompt \
-H "Content-Type: application/json" \
-d '{
"prompt": "buy $10 ETH on base",
"walletAddress": "0xYourWallet...",
"provider": "your-agent-name"
}'{
"error": "Payment required",
"message": "This endpoint requires $0.20 USDC to access.",
"paymentRequired": {
"x402Version": 2,
"accepts": [
{
"scheme": "exact",
"network": "eip155:8453",
"maxAmountRequired": "200000",
"payTo": "0x6a35dF48189eB83404d97b32dd3E91517ff4ceb9",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
}
}
]
}
}Step 2: Sign Payment Authorization
Step 3: Retry with Payment Header
Step 4: Payment Settled, Response Returned
Important: Payment is Non-Refundable
Payment Networks
Network
Chain ID
CAIP-2
Token
Decimals
Discovery Endpoint
Pricing
Service
Price
Atomic Units (6 decimals)
EIP-712 Domain
USDC Contract Addresses
Chain
USDC Address
Important Notes
Native USDC Only
Payment Amount
Validity Window
Nonce
Free Endpoints
Endpoint
Description
Next Steps
Last updated