Purchase YES or NO shares using X.402 payment flow
X-PAYMENT header (returns 200)btc-100k-march)YES or NOpayTo address:
X-PAYMENT header must contain a base64-encoded JSON object:
| Field | Type | Description |
|---|---|---|
x402Version | number | Protocol version (use 1) |
network | string | Network identifier (e.g., solana-mainnet) |
txHash | string | Your USDC payment transaction signature |
amount | number | USDC amount paid |
payer | string | Your wallet address (must match wallet in body) |
payTo | string | Recipient from quote response |
asset | string | USDC token mint address |
networkId | string | Network identifier |
quoteIssuedAt | string | ISO 8601 timestamp from quote response |
amount / target_price (typically $0.0005 per token).