Skip to main content

Agent payments

x402 payment flow

The x402 protocol uses ERC-3009 off-chain signatures. The agent signs but never sends an on-chain transaction — the Prudra server handles settlement.

MPP payment flow

MPP requires an actual on-chain transaction. The agent sends USDC.e to the recipient address on Tempo, then submits the txHash as proof.

Session reuse (MPP only)

When a session payment was used on the first request, the response includes X-PRUDRA-SESSION-ID. Reuse it to avoid paying again: