Show / Hide Table of Contents

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

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

Properties

| Edit this page View Source

ErrorReason

Short machine-readable error code on failure (e.g. "settlement_failed"); null on success.

Declaration
[JsonPropertyName("errorReason")]
public string? ErrorReason { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Network

CAIP-2 network identifier on which the transaction was validated; null on failure.

Declaration
[JsonPropertyName("network")]
public string? Network { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Payer

Classic XRPL address of the payer account on success; null on failure.

Declaration
[JsonPropertyName("payer")]
public string? Payer { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Success

true if the payment was validated on the ledger; false on any failure.

Declaration
[JsonPropertyName("success")]
public bool Success { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Transaction

Validated transaction hash (tx_id) on success; null on failure.

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