BOCHK AI Payment MCP Demo Base URL https://td-pay.online Authoritative discovery endpoints https://td-pay.online/.well-known/x402.json https://td-pay.online/api/services Login flow 1) POST /api/auth/start-login {email} 2) POST /api/auth/verify-otp {challenge_id, otp_code} Paid call (x402-compatible) 1) POST /x402/service/{service_id} {session_id, prompt} -> 402 payment requirement (+ invoice_id header) 2) POST /api/pay {session_id, invoice_id} -> payment_otp_required 3) POST /api/payment/verify-otp {challenge_id, otp_code} -> verified 4) POST /api/pay {session_id, invoice_id} -> paid 5) Retry POST /x402/service/{service_id} with invoice_id -> 200 result Notes - Use https://td-pay.online. - If you see Session not found or login_required, re-run login flow.