Skip to content
LogoLogo

Intents

Payment patterns for MPP

Intents define what kind of payment a server requests. Each intent specifies the shared request fields, Credential requirements, and settlement semantics that payment methods implement.

Overview

When a server responds with 402 Payment Required, the WWW-Authenticate header includes an intent parameter. The intent tells the client whether the request is a one-time payment, recurring authorization, or another payment pattern.

HTTP/1.1 402 Payment Required
WWW-Authenticate: Payment method="tempo", intent="charge", ...

Payment methods implement intents on top of a payment rail. For example, Tempo supports charge, session, and subscription, while Stripe currently supports charge.

Available intents

Choose an intent

IntentBest forExample methods
chargeOne request, one payment, known priceTempo charge, Stripe charge, Lightning charge
sessionHigh-frequency metered usage with costs calculated over timeTempo session, Lightning session
subscriptionFixed recurring access by billing periodTempo subscription