Scheme: exact on Bitcoin Lightning (lnbtc)
Official source · x402 Foundation · official-doc · retrieved 2026-11-27 · open the original
Summary
x402 Foundation specification for the exact payment scheme on Bitcoin Lightning, under the lnbtc namespace, targeting x402 protocol version 2. The client pays a fresh BOLT11 invoice from the resource server and returns the 32-byte payment preimage. The facilitator checks that the SHA-256 of the preimage matches the payment hash, and that the invoice signing key matches payTo. The scheme describes this machine-to-machine payment flow. It does not describe a person approving a payment.
Short quotes
The client pays a fresh BOLT11 invoice from the resource server and returns its 32-byte payment preimage.
The facilitator verifies
SHA-256(preimage) == payment_hashand requires the invoice signing key to matchpayTo.
A client MUST NOT select this scheme unless its payer Lightning node returns the preimage after payment.
Notes
This card is a pointer, not a copy. Archive link: unknown.
Suggest a correction (opens a GitHub issue)