Payment Required Protocol
Call the protected service path first. Gatekeeper returns 402 payment_required with the current price, recipient wallet, chain, token, verify endpoint, and a one-time wallet proof challenge.
- Send Base mainnet USDC to the recipient wallet.
- Sign the challenge message with the paying wallet.
- POST
tx_hash,payer_wallet,challenge_id,nonce, andsignatureto the verify endpoint. - Retry the protected route with
Authorization: Bearer <grant_token>.