Show / Hide Table of Contents

Interface IX402Facilitator

Verifies and settles an x402 PAYMENT-SIGNATURE on the XRP Ledger.

Namespace: Xrpl.X402.AspNetCore
Assembly: Xrpl.X402.AspNetCore.dll
Syntax
public interface IX402Facilitator

Methods

| Edit this page View Source

VerifyAndSettleAsync(PaymentSignatureEnvelope, CancellationToken)

Verify the signed payment matches the accepted requirement and settle it on-ledger.

Declaration
Task<PaymentResponseEnvelope> VerifyAndSettleAsync(PaymentSignatureEnvelope envelope, CancellationToken cancellationToken = default)
Parameters
Type Name Description
PaymentSignatureEnvelope envelope
CancellationToken cancellationToken
Returns
Type Description
Task<PaymentResponseEnvelope>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX