Show / Hide Table of Contents

Class 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.

Inheritance
object
PaymentRequiredChallenge
Namespace: Xrpl.X402.Wire
Assembly: Xrpl.X402.dll
Syntax
public sealed class PaymentRequiredChallenge

Properties

| Edit this page View Source

Accepts

List of payment options the server accepts; the client picks one to fulfil.

Declaration
[JsonPropertyName("accepts")]
public List<PaymentRequirement> Accepts { get; set; }
Property Value
Type Description
List<PaymentRequirement>
| Edit this page View Source

X402Version

x402 protocol version. Always 2 for the current specification.

Declaration
[JsonPropertyName("x402Version")]
public int X402Version { get; set; }
Property Value
Type Description
int
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX