Show / Hide Table of Contents

Namespace Xrpl.X402.Wire

Classes

PaymentRequiredChallenge

The 402 challenge object returned in the PAYMENT-REQUIRED header (t54 exact scheme). Contains the list of acceptable payment requirements the client may satisfy.

PaymentRequirement

One entry of the 402 challenge's accepts array (t54 exact scheme). Describes a single payment option the server is willing to accept.

PaymentResponseEnvelope

The settlement result returned by the facilitator in the PAYMENT-RESPONSE header (t54 exact scheme). Indicates whether the payment was successfully validated on-ledger.

PaymentSignatureEnvelope

The payment proof envelope sent by the client in the PAYMENT-SIGNATURE header (t54 exact scheme). Pairs the chosen PaymentRequirement with the corresponding signed transaction.

SignedPayload

Holds the signed XRPL transaction blob and the raw invoice id submitted by the client as payment proof.

X402Base64Json

Serializes and deserializes x402 wire objects as Base64-encoded UTF-8 JSON, matching the encoding used in the PAYMENT-REQUIRED, PAYMENT-SIGNATURE, and PAYMENT-RESPONSE HTTP headers.

X402Headers

HTTP header name constants used by the x402 payment protocol.

In this article
Back to top Generated by DocFX