{
 "url": "https://agenticweb.wiki/compare/l402-vs-mpp/",
 "title": "L402 vs MPP: differences & adoption",
 "description": "L402 vs MPP: architecture differences, wire formats, governance, and verified ecosystem adoption.",
 "markdown_url": "https://agenticweb.wiki/compare/l402-vs-mpp/index.md",
 "markdown": "# L402 vs Machine Payments Protocol (MPP)\n\n**Domain:** Payments & On-Chain Settlement · **Relationship:** Related specifications\n\n- **L402** *(peer alternative to Machine Payments Protocol (MPP))*: L402 uses WWW-Authenticate: L402 plus a macaroon and Lightning invoice; MPP uses scheme Payment and Authorization. [1][6]\n- **Machine Payments Protocol (MPP)** *(peer alternative to L402)*: MPP challenges with scheme Payment. L402's scheme is L402, and clients and servers MUST accept LSAT too. [1][5][6]\n\n## Quick facts comparison\n\n| Field | L402 | Machine Payments Protocol (MPP) |\n| --- | --- | --- |\n| **Category** | [Pay](/category/pay/) | [Pay](/category/pay/) |\n| **Tier & lifecycle** | Flagship · Active | Flagship · Active Draft |\n| **Track** | Lightning Labs text in lightninglabs/L402. bLIP-0026 is an open lightning/blips pull request. [2][9][13] | Individual Internet-Draft `draft-httpauth-payment-01`, intended Standards Track, not IETF-endorsed. [6][23] |\n| **IETF tracker** | — | [draft-httpauth-payment](https://datatracker.ietf.org/doc/draft-httpauth-payment/): Active Internet-Draft (individual); last updated 2026-09-09; IESG state I-D Exists. [23] |\n| **Originated by** | Lightning Labs (repo 2020-02-07). Osuntokun, Gugger, and Paulino authored bLIP-0026 (2023-06-06). [2][8][9][10] | Tempo and Stripe, 18 March 2026; draft authors are Tempo Labs and Stripe. [6][15][19] |\n| **Governed by** | Lightning Labs repo lightninglabs/L402. Roasbeef plans to continue development there. [2][9][11][13] | Tempo Labs and Stripe maintain it on GitHub; this individual I-D is not IETF-endorsed. [20][21][23] |\n| **Status** | bLIP-0026 is Status: Active. Aperture is in production in Loop and Pool. PR 26 is unmerged. [10][13][14] | IESG state I-D Exists, updated 2026-09-09. Tempo, card/Stripe, and Lightning are in production. [23][24][25][26] |\n| **Latest version** | Master branch omits a version parameter; pinned bLIP-0026 snapshot uses version=\"0\". [1][10][12] | Datatracker `draft-httpauth-payment-01` published 9 September 2026; paymentauth.org editor's copy of that draft name is dated 2 November 2026 (`2026-11-02`; expires 6 May 2027). [6][22] |\n| **Form** | HTTP header | HTTP header |\n| **Wire / transport** | Master challenge is macaroon plus invoice; bLIP snapshot uses version, token, and invoice. Authorization carries the preimage. [1][10] · HTTP and gRPC. [1] | `WWW-Authenticate: Payment` challenge; default credential `Authorization`; selected `Payment-Authorization` is MUST; `Payment-Receipt` is SHOULD. `Payment-Authorization` is RECOMMENDED when a resource needs to preserve `Authorization` for ordinary authentication. [6][20][22][27][28] · Challenge `request` is base64url JSON; intents belong to a proposed IANA HTTP Payment Intents registry. [6][20] · HTTP 402 with the Payment scheme; an MCP binding maps Challenge, Credential, and Receipt. [20][24] |\n| **Found at** | No fixed path. A paid resource MUST return HTTP 402 with WWW-Authenticate. [1] | Servers answer HTTP 402 with `WWW-Authenticate: Payment`. Curated directory is mpp.dev/services. [20][29][30] |\n| **Primary specification** | Master [L402 spec](https://raw.githubusercontent.com/lightninglabs/L402/master/protocol-specification.md) and pinned [bLIP-0026](https://raw.githubusercontent.com/Roasbeef/blips/697ae354c205f1aacc450e72067c92a7f2467321/blip-0026.md) snapshot. [1][10] | [The \"Payment\" HTTP Authentication Scheme (draft-httpauth-payment-01)](https://datatracker.ietf.org/doc/html/draft-httpauth-payment-01) [6] |\n| **Last checked** | 2026-11-06 | 2026-11-12 |\n\n## Problem, mechanism & scope\n\n- **L402 problem, mechanism & scope boundary:** Although the HTTP specification historically marked status code 402 as reserved for future use, conventional API monetization forces callers through user accounts, passwords, sign-up forms, and monthly subscriptions rather than accountless, per-request payments where users pay only for what they use. [1][2] The credential is a macaroon (an HMAC-chain bearer token) that cryptographically commits to the invoice's payment hash. This binding enables stateless verification: the server checks `H == sha256(preimage)` against the hash embedded in the macaroon, with no database lookup required. [1] The 402 status code is used exclusively for the initial payment challenge. Once a client presents a credential (valid or not), the server MUST respond with 401 if verification fails, not 402. This distinction lets clients differentiate \"you need to pay\" from \"your credential is broken.\" [1]\n- **Machine Payments Protocol (MPP) problem, mechanism & scope boundary:** Although RFC 9110 reserved the HTTP `402` (`Payment Required`) status code for future use, the status code was never standardized in HTTP/1.1 with a common challenge-response wire format. [6][7] The Payment specification defines the \"Payment\" authentication scheme that gives 402 its semantics, so a resource can require a fulfilled payment challenge before access. MPP uses 402 when a server offers a payment Challenge, including retryable Credential validation failures, unlike schemes that use 401 for failed Credentials. [6][31] The protocol is payment-method agnostic and supports any payment network or currency through registered payment method identifiers. Specific payment methods are defined in separate payment method specifications, and each is defined and maintained by the rail behind it. [6][21]\n\n## Overview\n\n### L402\n\n*This page is about L402 (formerly LSAT), the Lightning Labs HTTP 402 authentication and payment scheme. It is not [x402](/protocols/x402/), the open payment protocol originated at Coinbase; not [MPP](/protocols/mpp/), the Machine Payments Protocol co-authored by Tempo and Stripe using the Payment authentication scheme; and not the bare HTTP 402 status code in RFC 9110 (see [HTTP 402 Payment Required](/terms/http-402-payment-required/)). [1][2][3][4][5][6][7]*\n\n**L402** (formerly Lightning Service Authentication Tokens, or `LSAT`) is an HTTP and gRPC challenge-response authentication scheme originated by Lightning Labs that combines HTTP 402 (`Payment Required`) responses with Lightning Network invoices for paid API access. [1][2][8] First committed to `lightninglabs/L402` on 2020-02-07 and announced by Olaoluwa Osuntokun on 2020-03-30, it pairs a bearer credential with a Lightning invoice so a client can pay for a preimage and present both as proof of payment. [1][8][9] When a server requires payment for a resource, the master specification requires an HTTP 402 response carrying `WWW-Authenticate: L402 macaroon=\"<base64>\", invoice=\"<bolt11>\"`, and the client retries the request with `Authorization: L402 <base64(macaroon)>:<hex(preimage)>`. [1] For backward compatibility after the rename from `LSAT`, servers should send both `LSAT` and `L402` challenges and both parties must accept either scheme in `Authorization`. [1] A token-agnostic revision (`bLIP-0026`, created 2023-06-06) uses `WWW-Authenticate: L402 version=\"0\", token=\"T\", invoice=\"P\"`, while active development continues in `lightninglabs/L402` (which reverted the `bLIP-0026` header changes on 2026-03-20). [9][10][11][12]\n\n### Machine Payments Protocol (MPP)\n\n*This page is about the Machine Payments Protocol (MPP), an open protocol co-authored by Tempo and Stripe and launched on March 18, 2026, whose core is the Payment HTTP authentication scheme. It is not x402, whose v2 specification uses a PAYMENT-REQUIRED header and a PAYMENT-SIGNATURE header. It is not L402, whose challenge is a WWW-Authenticate: L402 header containing a macaroon and a Lightning invoice. It is not the bare 402 status code: RFC 9110 says the 402 (Payment Required) status code is reserved for future use. In Lightning, basic_mpp means a node can receive basic multi-part payments. Microsoft uses .mpp for Microsoft Project desktop client files. AWS writes Machine Payment Protocol (singular). mpp.dev, Stripe, and Tempo write Machine Payments Protocol. [1][3][5][6][7][15][16][17][18][19]*\n\n**Machine Payments Protocol** (`MPP`) is an open standard for machine-to-machine payments launched on 2026-03-18 and maintained by Tempo Labs and Stripe, whose core wire specification is published as the `Payment` HTTP Authentication Scheme. [15][20][21] When a client requests a protected resource, the server responds with `402 Payment Required` and a `WWW-Authenticate: Payment` challenge; the client retries with an `Authorization: Payment` credential proving payment, and on success servers SHOULD include a `Payment-Receipt` header. [20][22] Published as an individual Standards Track Internet-Draft (`draft-httpauth-payment-01`, updated 2026-09-09 on the IETF Datatracker and expiring 13 March 2027), the specification is an active individual submission and is not formally endorsed by an IETF working group. [23]\n\n## Adoption and ecosystem\n\n### L402\n\nSee verified implementations and cited ecosystem censuses on the [L402 protocol page](/protocols/l402/#adoption-and-ecosystem).\n\n### Machine Payments Protocol (MPP)\n\nSee verified implementations and cited ecosystem censuses on the [Machine Payments Protocol (MPP) protocol page](/protocols/mpp/#adoption-and-ecosystem).\n\n## References\n\n1. Lightning Labs, *L402 Protocol Specification*, fetched 2026-10-30 — https://raw.githubusercontent.com/lightninglabs/L402/master/protocol-specification.md\n2. Lightning Labs, *L402: Lightning HTTP 402 Protocol*, fetched 2026-10-30 — https://raw.githubusercontent.com/lightninglabs/L402/master/README.md\n3. x402 Foundation, *x402 Protocol Specification*, protocol version 2; fetched 2026-10-30 — https://github.com/x402-foundation/x402/blob/main/specs/x402-specification-v2.md\n4. Linux Foundation, *Linux Foundation Announces Operational Launch of x402 Foundation to Standardize Internet-Native Payments for AI Agents and Applications*, July 14, 2026 — https://www.linuxfoundation.org/press/linux-foundation-announces-operational-launch-of-x402-foundation-to-standardize-internet-native-payments-for-ai-agents-and-applications\n5. Tempo and Stripe (mpp.dev), *What is MPP?*, checked 2026-10-30 — https://mpp.dev/overview.md\n6. B. Ryan, J. Moxey, and T. Meagher (Tempo Labs); J. Weinstein and S. Kaliski (Stripe), *The \"Payment\" HTTP Authentication Scheme (draft-httpauth-payment-01 HTML)*, draft-httpauth-payment-01, September 2026 — https://datatracker.ietf.org/doc/html/draft-httpauth-payment-01\n7. R. Fielding, M. Nottingham, and J. Reschke (eds.), *RFC 9110: HTTP Semantics*, June 2022 — https://www.rfc-editor.org/rfc/rfc9110.html\n8. Olaoluwa Osuntokun, Lightning Labs, *L402: Authentication and Payments for the Lightning-Native Web*, March 30, 2020 — https://lightning.engineering/posts/2020-03-30-lsat/\n9. Lightning Labs, *lightninglabs/L402 repository*, created 2020-02-07; fetched 2026-10-30 — https://github.com/lightninglabs/L402\n10. Olaoluwa Osuntokun, Oliver Gugger, and Wilmer Paulino, *bLIP-0026: L402: The Lightning HTTP 402 Protocol*, created 2023-06-06 — https://raw.githubusercontent.com/Roasbeef/blips/697ae354c205f1aacc450e72067c92a7f2467321/blip-0026.md\n11. Lightning Specification (BOLTs), *Comments on lightning/blips pull request 26*, fetched 2026-10-30 — https://github.com/lightning/blips/issues/26\n12. Lightning Labs, *lightninglabs/L402 commits*, fetched 2026-10-30 — https://github.com/lightninglabs/L402/commits\n13. Roasbeef, *blip-0026: L402 - Lightning HTTP 402 Protocol (lightning/blips pull request 26)*, opened 2023-06-07; fetched 2026-10-30 — https://github.com/lightning/blips/pull/26\n14. Lightning Labs, *Aperture | Builder's Guide*, fetched 2026-10-30 — https://docs.lightning.engineering/lightning-network-tools/aperture\n15. Jeff Weinstein and Steve Kaliski (Stripe), *Introducing the Machine Payments Protocol*, 2026-03-18 — https://stripe.com/blog/machine-payments-protocol\n16. Lightning Network, *BOLT #9: Assigned Feature Flags*, checked 2026-10-30 — https://raw.githubusercontent.com/lightning/bolts/master/09-features.md\n17. Microsoft, *Import projects from the Microsoft Project desktop client*, checked 2026-10-30 — https://learn.microsoft.com/en-us/dynamics365/project-operations/project-management/import_from_mpp\n18. Chethan Shriyan and Madhu Samhitha Vangara (AWS), *Amazon Bedrock AgentCore payments is now generally available*, 2026-08-18 — https://aws.amazon.com/blogs/machine-learning/amazon-bedrock-agentcore-payments-is-now-generally-available-enabling-agents-to-transact-safely-and-autonomously-at-scale/\n19. Tempo, *Tempo Mainnet Is Live: Build on Tempo Today*, 2026-03-18 — https://tempo.xyz/blog/mainnet/\n20. Tempo Labs and Stripe, *Machine Payments Protocol (MPP)*, checked 2026-10-30 — https://raw.githubusercontent.com/tempoxyz/mpp-specs/main/README.md\n21. Tempo and Stripe (mpp.dev), *Governance*, checked 2026-10-30 — https://mpp.dev/governance.md\n22. B. Ryan, J. Moxey, T. Meagher, J. Weinstein, and S. Kaliski, *The \"Payment\" HTTP Authentication Scheme (editor rendering)*, published 2 November 2026; expires 6 May 2027 — https://paymentauth.org/draft-httpauth-payment-01.html\n23. IETF Datatracker, *draft-httpauth-payment — The \"Payment\" HTTP Authentication Scheme (IETF Datatracker)*, last updated 2026-09-09 — https://datatracker.ietf.org/doc/draft-httpauth-payment/\n24. Tempo and Stripe (mpp.dev), *Frequently asked questions*, checked 2026-10-30 — https://mpp.dev/faq.md\n25. Visa, *Visa introduces card spec and SDK for MPP*, 2026-03-18 — https://corporate.visa.com/en/sites/visa-perspectives/innovation/visa-card-specification-sdk-for-machine-payments-protocol.html\n26. Browserbase, *Payment Required (browser session create)*, checked 2026-10-30 — https://mpp.browserbase.com/browser/session/create\n27. Tempo and Stripe (mpp.dev), *Payment methods*, checked 2026-10-30 — https://mpp.dev/payment-methods.md\n28. Tempo and Stripe (mpp.dev), *MPP vs x402*, checked 2026-10-30 — https://mpp.dev/mpp-vs-x402.md\n29. Machine Payments Protocol, *MPP services: APIs that accept MPP payments*, checked 2026-10-30 — https://mpp.dev/services\n30. Tempo, *tempoxyz/mpp*, checked 2026-10-30 — https://github.com/tempoxyz/mpp\n31. Tempo and Stripe (mpp.dev), *HTTP 402*, checked 2026-10-30 — https://mpp.dev/protocol/http-402.md\n"
}