Class X402Headers
HTTP header name constants used by the x402 payment protocol.
Inheritance
object
X402Headers
Namespace: Xrpl.X402.Wire
Assembly: Xrpl.X402.dll
Syntax
public static class X402Headers
Fields
| Edit this page View SourcePaymentRequired
Request/response header carrying the Base64-encoded PaymentRequiredChallenge (issued on HTTP 402).
Declaration
public const string PaymentRequired = "PAYMENT-REQUIRED"
Field Value
| Type | Description |
|---|---|
| string |
PaymentResponse
Response header carrying the Base64-encoded PaymentResponseEnvelope (server settlement result).
Declaration
public const string PaymentResponse = "PAYMENT-RESPONSE"
Field Value
| Type | Description |
|---|---|
| string |
PaymentSignature
Request header carrying the Base64-encoded PaymentSignatureEnvelope (client payment proof).
Declaration
public const string PaymentSignature = "PAYMENT-SIGNATURE"
Field Value
| Type | Description |
|---|---|
| string |