t54XRPL x402 Docsv2
Home

Core

  • Facilitator Overview
    • What Is x402
    • Why x402
    • Key Benefits
    • Payment Flow
    • Next Step
  • Quickstart Guide
    • Prerequisites
    • Role Selection
  • XRPL Exact Scheme
    • Overview
    • Network IDs
    • HTTP Headers
    • Payload Format
    • Asset Types
    • Requirement Fields
    • Invoice Binding
    • Verification Flow
    • Settlement Response
    • Error Codes
    • Security Notes

Merchant Guides

  • FastAPI Integration
    • Overview
    • Install Dependencies
    • Environment Setup
    • Create Server
    • Run Service
  • Express Integration
    • Overview
    • Install Dependencies
    • Environment Setup
    • Create Server
    • Run Service

Client Guides

  • Python Client
    • Overview
    • Install Dependencies
    • Environment Setup
    • Create Client
    • Run Client
  • TypeScript Client
    • Overview
    • Install Dependencies
    • Environment Setup
    • Create Client
    • Run Client

XRPL x402
Documentation

Everything you need to integrate facilitator-side settlement, merchant middleware, and paid clients in the XRPL exact scheme.

01

Facilitator Overview

Protocol context, trust model, and payment lifecycle from HTTP 402 challenge to settlement.

02

Quickstart Guide

Deploy a paid endpoint and test a paying client in minutes.

03

XRPL Exact Scheme

Canonical payload fields, headers, invoice binding rules, and supported assets.

04

Merchant FastAPI

Python middleware path for integrating x402 settlement on XRPL.

05

Merchant Express

Node.js middleware path for paid APIs using x402-xrpl package.

06

Python Client

Use x402-enabled requests session and XRPL signing for paid API calls.

07

TypeScript Client

Use x402Fetch and decode payment headers in JavaScript runtimes.

Contents

Core

  • Facilitator Overview
    • What Is x402
    • Why x402
    • Key Benefits
    • Payment Flow
    • Next Step
  • Quickstart Guide
    • Prerequisites
    • Role Selection
  • XRPL Exact Scheme
    • Overview
    • Network IDs
    • HTTP Headers
    • Payload Format
    • Asset Types
    • Requirement Fields
    • Invoice Binding
    • Verification Flow
    • Settlement Response
    • Error Codes
    • Security Notes

Merchant Guides

  • FastAPI Integration
    • Overview
    • Install Dependencies
    • Environment Setup
    • Create Server
    • Run Service
  • Express Integration
    • Overview
    • Install Dependencies
    • Environment Setup
    • Create Server
    • Run Service

Client Guides

  • Python Client
    • Overview
    • Install Dependencies
    • Environment Setup
    • Create Client
    • Run Client
  • TypeScript Client
    • Overview
    • Install Dependencies
    • Environment Setup
    • Create Client
    • Run Client