Show / Hide Table of Contents

Namespace Xrpl.X402.AspNetCore

Classes

InMemorySettledPaymentStore

Process-local ISettledPaymentStore. Suitable for a single instance only: several instances behind a load balancer need a shared store.

LedgerSettlingFacilitator

Production-quality x402 facilitator that decodes a signed XRPL transaction blob, checks it against the accepted requirement, submits it to the ledger, waits for a validated outcome and checks what the ledger actually delivered.

T54Facilitator

x402 facilitator that delegates payment verification and on-ledger settlement to the real t54 facilitator service (https://xrpl-facilitator-testnet.t54.ai).

The client signs but does NOT submit the transaction; t54 performs verification and submits the signed blob to the XRPL node on its end. The response maps directly to PaymentResponseEnvelope.

Verification flow: first calls POST {baseUrl}/verify to get a human-readable rejection reason if the payload is invalid, then calls POST {baseUrl}/settle only when verify reports isValid: true.

X402PaymentExtensions

Extensions to protect ASP.NET Core minimal-API endpoints with x402 payment.

X402ServiceCollectionExtensions

Registers the x402 facilitator services in an Microsoft.Extensions.DependencyInjection.IServiceCollection.

Interfaces

ISettledPaymentStore

Records the transactions a facilitator has settled, so that the same signed payment cannot unlock a resource twice.

IX402Facilitator

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

In this article
Back to top Generated by DocFX