> Dual-Rail Micropayments
Pay per call with USDC — x402 (Base) or MPP (Tempo)
# Step 1: Call paid tool → get 402 with payment instructions
$ curl -X POST https://apibase.pro/api/v1/tools/crypto.get_price/call

HTTP 402 Payment Required
{
  "price_usd": 0.001,
  "payment_address": "0x50Eb...6480",
  "network": "eip155:8453" // Base mainnet
}

# Step 2: Sign payment → resend with X-Payment header
$ curl -X POST ... -H "X-Payment: <signed_proof>"

HTTP 200 OK
{ "price": 67842.50, "currency": "usd", "coin": "bitcoin" }
x402
Header: X-Payment
Facilitator: PayAI
Settlement: instant on-chain
USDC on Base (L2)
MPP
Header: Authorization: Payment
Protocol: Machine Payments
Settlement: Tempo blockchain
USDC on Tempo