Skip to main content

MPP sessions

MPP locks a USDC budget in a session. Each mpp_fetch commits off-chain; mpp_close_session settles once on-chain and refunds unused budget.
1

Open

Call mpp_open_session with budget and recipient. The Hub may return a demo URL for testing.
2

Fetch

Call mpp_fetch against MPP-gated URLs while the session is open. Check mpp_status anytime.
3

Close

Call mpp_close_session to settle and refund the remainder.
See Payment tools.