{"repo":"tempoxyz/mpp-specs","free":true,"listed":false,"github":"https://github.com/tempoxyz/mpp-specs","clone":"git clone https://github.com/tempoxyz/mpp-specs.git","description":"Specifications for the Machine Payments Protocol - powered by the \"Payment\" HTTP authentication scheme","language":"Python","stars":90,"topics":["http","machine-payments","mpp","payment-authentication","payments","protocol"],"license":null,"category":"auth-billing-email","readme_excerpt":"Machine Payments Protocol (MPP) The open protocol for machine-to-machine payments. IETF Draft : the core specification Full Rendered Spec : all specs including methods and extensions Learn more What is MPP? The Machine Payments Protocol (MPP) is an open standard for machine-to-machine payments, co-authored by Tempo and Stripe. Paying for an internet resource, such as an API call, a dataset, or a unit of compute, still typically requires an account, API key, or billing relationship set up in advance. MPP lets any client pay as part of the HTTP exchange using the native 402 Payment Required status code. Primary use cases include agentic payments, such as an AI agent paying per API call, machine-to-machine commerce, and usage-based billing without pre-provisioned accounts. MPP lets businesses offer services to agents, apps, and humans via a standard HTTP control flow. The protocol defines a payment-method agnostic core alongside extensions for specific payment method flows, discovery, and identity. 1. Client requests a protected resource 2. Server responds with 402 Payment Required and a WWW-Authenticate: Payment challenge describing what payment is needed 3. Client fulfills the payment (off-band, via the specified payment method) 4. Client retries the request with an Authorization: Payment credential proving payment 5. Server validates the credential and grants access Design Principles MPP is designed to be simple, secure, and performant, holding the following design principles","default_branch":null,"files":null,"tree":[],"storefront":"/r/tempoxyz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tempoxyz/mpp-specs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}