Machine Payments Protocol
The Machine Payments Protocol is a proposed protocol for machine-to-machine payments over Lightning and other payment rails
Enable MPP
authenticator:
# Enable the Payment HTTP Authentication Scheme (MPP) alongside L402.
# When enabled, 402 responses include both L402 and Payment challenges.
# enablempp: true
# Realm string used in MPP challenge headers. Defaults to the server's
# listen address.
# mpprealm: "api.example.com"
# Enable MPP session intent for prepaid sessions with deposit, bearer,
# top-up, and close operations. Requires enablempp to be true.
# enablesessions: true
services:
# Payment auth scheme for this service. Valid values: "l402" (default),
# "mpp" (Payment HTTP Auth only), or "l402+mpp" (both schemes).
# authscheme: "l402"
Last updated
Was this helpful?