Skip to content

docs: add Tempo MPP sign-in and top-ups to the agent payment guide - #155

Merged
justprosh merged 2 commits into
mainfrom
docs/tempo-mpp
Nov 26, 2026
Merged

justprosh merged 2 commits into
mainfrom
docs/tempo-mpp

Conversation

@justprosh

Copy link
Copy Markdown
Member

What changed

  • Updated docs/build/api/x402.md (keeping the /docs/build/api/x402 URL intact) to document both HTTP payment rails for agents: x402 (USDC on Base) and MPP on Tempo (USDC.e on Tempo mainnet).
  • Added a rails and limits comparison table covering network, token, limits (10 USD to 2500 USD per request for Tempo MPP), Payment-Authorization header, pull settlement mode, and sign-in endpoints.
  • Documented Tempo MPP top-ups at POST /v2/x402/top-up?amountUsd=N, including verified tempo request CLI examples (authenticated with --bearer and anonymous), the 200 response body, Payment-Receipt header, balance visibility timing, and 400/402/409/503 retry semantics.
  • Documented Tempo MPP wallet sign-in at POST /v1/auth/mpp, including the zero-amount 402 challenge, verified tempo request command, single-use challenges, and the access key security and on-chain publication warning.
  • Updated cross-references and llms.txt headers in docs/llms_txt_override.md, docs/build/llms_txt_include_head.md, docs/build_with_ai/llms_txt_include_head.md, docs/build_with_ai/overview.md, docs/build/api/overview.md, docs/build/balance.md, docs/build/registration.md, and docs/build/overview.md.

How facts were checked

  • Observed live on https://api.fluence.dev:
    • POST /v2/x402/top-up?amountUsd=10 returns 402 with both an x402 challenge (PAYMENT-REQUIRED) and a Tempo MPP challenge (WWW-Authenticate: Payment with chainId: 4217, supportedModes: ["pull"], header="Payment-Authorization", USDC.e 0x20c000000000000000000000b9537d11c60e8b50).
    • POST /v2/x402/top-up?amountUsd=1500 returns 402 with only the Tempo MPP challenge.
    • Completed live Tempo MPP top-up with tempo request and observed the 200 response body, Payment-Receipt header, and balance credit in GET /v3/account/balances and GET /v3/top-ups.
    • POST /v1/auth/mpp returns a zero-amount 402 challenge (chainId: 4217, realm="api.fluence.dev") and returns 200 with {accessToken, refreshToken, userData} when retried with tempo request --network mainnet --max-spend 0.
    • Confirmed access key behavior (on-chain publication requirement, 401 on pending unpublished key, full-account sign-in scope).
  • Ran npm run gate (typecheck and production build, including llms.txt and .md generation) with zero errors.

Not verified

  • Passkey-based Tempo Wallet CLI flow on Tempo mainnet (live verification used an EOA private key in TEMPO_PRIVATE_KEY and on-chain access key checks).

@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
fluence-dev-docs Ready Ready Preview Nov 26, 2026 5:23pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 9f3d89d6 Deployed Nov 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant