docs: use x402 v2 header names (PAYMENT-REQUIRED, PAYMENT-SIGNATURE, PAYMENT-RESPONSE)#650
Conversation
…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.
|
@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. |
|
+1 on adopting the x402 v2 header names. AlgoVoi's gateway has been shipping these in production since our canonical refactor last week: 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. |
|
Thank you! This LGTM |
|
Thank you |
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 toPAYMENT-SIGNATURE. This updates both pages to the current spec.X-PAYMENT-REQUIREDPAYMENT-REQUIREDX-PAYMENTPAYMENT-SIGNATUREX-PAYMENT-RESPONSEPAYMENT-RESPONSE