| Internet-Draft | Payment Intent Charge | March 2026 |
| Moxey, et al. | Expires 4 September 2026 | [Page] |
This document defines the "charge" payment intent for use with the Payment HTTP Authentication Scheme [I-D.httpauth-payment]. The "charge" intent represents a one-time payment where the payer provides proof of payment immediately in exchange for resource access.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 4 September 2026.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The "charge" intent is the most fundamental payment pattern: a one-time exchange of payment for resource access. The payer provides proof of payment (or a signed authorization to collect payment), and the server grants access to the requested resource.¶
This intent applies to any payment method that supports immediate payment verification, including:¶
Invoice-based systems (preimage revelation)¶
Signed transaction authorization¶
Token-based payment confirmation¶
Traditional payment processor confirmation¶
This document defines the abstract semantics of the "charge" intent. Payment method specifications define how to implement this intent using their specific payment infrastructure.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
A one-time payment where the payer provides proof of payment immediately in exchange for resource access.¶
The smallest denomination of a currency or asset. For USD, this is cents (1/100). For tokens, this is the smallest transferable unit defined by the token's decimal precision.¶
The "charge" intent represents a request for immediate, one-time payment of a specified amount in exchange for resource access.¶
| Property | Value |
|---|---|
| Intent Identifier |
charge
|
| Payment Timing | Immediate (before or with request) |
| Idempotency | Single-use per challenge |
| Reversibility | Method-dependent |
The request parameter for a "charge" intent is a JSON object with
shared fields defined by this specification and optional method-specific
extensions in the methodDetails field.¶
The currency field supports multiple formats to accommodate different
payment networks:¶
| Format | Example | Description |
|---|---|---|
| ISO 4217 |
"usd", "eur"
|
Fiat currencies (lowercase) |
| Method-defined | (varies) | Payment method-specific currency identifiers |
Payment method specifications MUST document which currency formats they support and how to interpret amounts for each format.¶
Payment methods MAY define additional fields in the methodDetails object.
These fields are method-specific and MUST be documented in the payment
method specification. Clients that do not recognize a payment method
SHOULD ignore methodDetails but MUST still be able to display the
shared fields to users.¶
{
"amount": "5000",
"currency": "usd",
"description": "Premium API access",
"externalId": "order_12345",
"methodDetails": {
"businessNetwork": "bn_1MqDcVKA5fEO2tZvKQm9g8Yj",
"destination": "acct_1MqE1vKB6gFP3uYw"
}
}
¶
{
"amount": "1000000",
"currency": "0x20c0000000000000000000000000000000000000",
"recipient": "0x742d35Cc6634C0532925a3b844Bc9e7595f8fE00",
"expires": "2025-01-06T12:00:00Z",
"methodDetails": {
"chainId": 42431,
"feePayer": true
}
}
¶
{
"amount": "100000",
"currency": "sat",
"expires": "2025-01-15T12:05:00Z",
"methodDetails": {
"invoice": "lnbc1000n1pj9..."
}
}
¶
Payment method specifications define the complete methodDetails schema
for their implementation of the "charge" intent.¶
The credential payload for a "charge" intent MUST contain proof that
payment has been made or authorized. The proof type is method-specific:¶
| Proof Type | Description | Example Methods |
|---|---|---|
| Preimage | Hash preimage proving invoice payment | Lightning |
| Signature | Signed transaction authorization | Tempo, EVM |
| Confirmation | Payment processor confirmation identifier | Stripe |
| Ledger transaction | Transaction hash on public ledger | Bitcoin, Ethereum |
Each credential MUST be usable only once per challenge. Servers MUST reject replayed credentials.¶
Servers verifying a "charge" credential MUST:¶
Settlement semantics differ by method:¶
Immediate settlement: Payment is final upon verification (e.g., Lightning preimage, confirmed blockchain transaction)¶
Deferred settlement: Server submits payment after verification (e.g., signed authorization submitted to chain)¶
Processor settlement: External processor handles settlement (e.g., Stripe PaymentIntent)¶
Clients MUST verify the requested amount is appropriate for the resource before authorizing payment. Malicious servers could request excessive amounts.¶
Clients SHOULD verify the payment recipient when possible. For methods that support recipient verification (e.g., known merchant addresses), clients SHOULD warn users about unknown recipients.¶
Servers MUST implement replay protection. Each challenge id MUST be
single-use. Servers MUST NOT accept the same credential twice.¶
The finality of a "charge" payment depends on the payment method:¶
Some methods provide instant finality (Lightning)¶
Some methods may have delayed finality (blockchain confirmations)¶
Some methods may be reversible (card chargebacks)¶
Servers SHOULD understand the finality guarantees of their accepted payment methods and adjust resource access accordingly.¶
This document registers the "charge" intent in the "HTTP Payment Intents" registry established by [I-D.httpauth-payment]:¶
| Intent | Description | Reference |
|---|---|---|
charge
|
One-time immediate payment | This document |