agenticweb.wiki

L402 vs Machine Payments Protocol (MPP)

Last checked · 31 primary sources

Payments & On-Chain Settlement Related specifications

Quick facts comparison

FieldL402Machine Payments Protocol (MPP)
CategoryPayPay
Tier & lifecycleFlagship · ActiveFlagship · Active Draft
TrackLightning 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]
IETF tracker—draft-httpauth-payment: Active Internet-Draft (individual); last updated 2026-09-09; IESG state I-D Exists. [23]
Originated byLightning 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]
Governed byLightning 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]
StatusbLIP-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]
Latest versionMaster 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]
FormHTTP headerHTTP header
Wire / transportMaster 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]
Found atNo 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]
Primary specificationMaster L402 spec and pinned bLIP-0026 snapshot. [1][10]The "Payment" HTTP Authentication Scheme (draft-httpauth-payment-01) [6]
Last checked2026-11-062026-11-12

Problem, mechanism & scope

Overview

L402

This page is about L402 (formerly LSAT), the Lightning Labs HTTP 402 authentication and payment scheme. It is not x402, the open payment protocol originated at Coinbase; not 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). [1][2][3][4][5][6][7]

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]

Machine Payments Protocol (MPP)

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]

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]

Adoption and ecosystem

L402

See verified implementations and cited ecosystem censuses on the L402 protocol page.

Machine Payments Protocol (MPP)

See verified implementations and cited ecosystem censuses on the Machine Payments Protocol (MPP) protocol page.

References

  1. Lightning Labs, L402 Protocol Specification, fetched 2026-10-30 — https://raw.githubusercontent.com/lightninglabs/L402/master/protocol-specification.md
  2. Lightning Labs, L402: Lightning HTTP 402 Protocol, fetched 2026-10-30 — https://raw.githubusercontent.com/lightninglabs/L402/master/README.md
  3. 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
  4. 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
  5. Tempo and Stripe (mpp.dev), What is MPP?, checked 2026-10-30 — https://mpp.dev/overview.md
  6. 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
  7. R. Fielding, M. Nottingham, and J. Reschke (eds.), RFC 9110: HTTP Semantics, June 2022 — https://www.rfc-editor.org/rfc/rfc9110.html
  8. Olaoluwa Osuntokun, Lightning Labs, L402: Authentication and Payments for the Lightning-Native Web, March 30, 2020 — https://lightning.engineering/posts/2020-03-30-lsat/
  9. Lightning Labs, lightninglabs/L402 repository, created 2020-02-07; fetched 2026-10-30 — https://github.com/lightninglabs/L402
  10. 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
  11. Lightning Specification (BOLTs), Comments on lightning/blips pull request 26, fetched 2026-10-30 — https://github.com/lightning/blips/issues/26
  12. Lightning Labs, lightninglabs/L402 commits, fetched 2026-10-30 — https://github.com/lightninglabs/L402/commits
  13. 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
  14. Lightning Labs, Aperture | Builder's Guide, fetched 2026-10-30 — https://docs.lightning.engineering/lightning-network-tools/aperture
  15. Jeff Weinstein and Steve Kaliski (Stripe), Introducing the Machine Payments Protocol, 2026-03-18 — https://stripe.com/blog/machine-payments-protocol
  16. Lightning Network, BOLT #9: Assigned Feature Flags, checked 2026-10-30 — https://raw.githubusercontent.com/lightning/bolts/master/09-features.md
  17. 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
  18. 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/
  19. Tempo, Tempo Mainnet Is Live: Build on Tempo Today, 2026-03-18 — https://tempo.xyz/blog/mainnet/
  20. Tempo Labs and Stripe, Machine Payments Protocol (MPP), checked 2026-10-30 — https://raw.githubusercontent.com/tempoxyz/mpp-specs/main/README.md
  21. Tempo and Stripe (mpp.dev), Governance, checked 2026-10-30 — https://mpp.dev/governance.md
  22. 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
  23. 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/
  24. Tempo and Stripe (mpp.dev), Frequently asked questions, checked 2026-10-30 — https://mpp.dev/faq.md
  25. 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
  26. Browserbase, Payment Required (browser session create), checked 2026-10-30 — https://mpp.browserbase.com/browser/session/create
  27. Tempo and Stripe (mpp.dev), Payment methods, checked 2026-10-30 — https://mpp.dev/payment-methods.md
  28. Tempo and Stripe (mpp.dev), MPP vs x402, checked 2026-10-30 — https://mpp.dev/mpp-vs-x402.md
  29. Machine Payments Protocol, MPP services: APIs that accept MPP payments, checked 2026-10-30 — https://mpp.dev/services
  30. Tempo, tempoxyz/mpp, checked 2026-10-30 — https://github.com/tempoxyz/mpp
  31. Tempo and Stripe (mpp.dev), HTTP 402, checked 2026-10-30 — https://mpp.dev/protocol/http-402.md

l402.json · mpp.json · JSON · Markdown