Skip to content

docs: use x402 v2 header names (PAYMENT-REQUIRED, PAYMENT-SIGNATURE, PAYMENT-RESPONSE)#650

Merged
brendanjryan merged 1 commit into
tempoxyz:mainfrom
notorious-d-e-v:fix-x402-v2-header-names
May 17, 2026
Merged

docs: use x402 v2 header names (PAYMENT-REQUIRED, PAYMENT-SIGNATURE, PAYMENT-RESPONSE)#650
brendanjryan merged 1 commit into
tempoxyz:mainfrom
notorious-d-e-v:fix-x402-v2-header-names

Conversation

@notorious-d-e-v
Copy link
Copy Markdown
Contributor

The MPP vs x402 comparison page (added in #624) and the x402 upgrade guide reference x402 v1 legacy header names. x402 v2 dropped the X- prefix and renamed the credential header to PAYMENT-SIGNATURE. This updates both pages to the current spec.

v1 (legacy) v2 (current)
X-PAYMENT-REQUIRED PAYMENT-REQUIRED
X-PAYMENT PAYMENT-SIGNATURE
X-PAYMENT-RESPONSE PAYMENT-RESPONSE

…PAYMENT-RESPONSE)

The MPP vs x402 comparison and the x402 upgrade guide referenced the v1
legacy header names (X-PAYMENT-REQUIRED, X-PAYMENT, X-PAYMENT-RESPONSE).
x402 v2 dropped the X- prefix and renamed the credential header to
PAYMENT-SIGNATURE. Update both pages to match the current spec so the
side-by-side comparison and migration guide stay accurate.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

@notorious-d-e-v is attempting to deploy a commit to the Tempo Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the docs label May 16, 2026
@chopmob-cloud
Copy link
Copy Markdown

+1 on adopting the x402 v2 header names. AlgoVoi's gateway has been shipping these in production since our canonical refactor last week: PAYMENT-REQUIRED, PAYMENT-SIGNATURE, and PAYMENT-RESPONSE (no X- prefix) on /mpp/probe and /r/{tenant}/{resource} across all 8 supported chains (Algorand, VOI, Hedera, Stellar, Base, Solana, Tempo, ARC testnet), content-negotiated against the canonical x402 v2 envelope.

Worth noting for anyone landing on the comparison page later: the v2 headers are byte-stable against the canonical envelope shape from the working-group convergence on x402-foundation/x402#2322 and #2334, so updating MPP's guidance here keeps the cross-protocol surface aligned with where upstream is settling.

@brendanjryan
Copy link
Copy Markdown
Collaborator

Thank you! This LGTM

@brendanjryan brendanjryan merged commit 9c10c5e into tempoxyz:main May 17, 2026
3 of 4 checks passed
@SkinGem
Copy link
Copy Markdown

SkinGem commented May 19, 2026

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants