Skip to main content

Introduction

Finance District provides SDKs for TypeScript, Python, and Java, making it simple to integrate the Prism X402 Payment Protocol into your existing applications. Our SDKs handle authentication, request signing, and payment verification with minimal setup.

Find Your Integration

Pick the framework you’re already using:

Language SDKs

If you don’t use any of the frameworks above, start with the base SDK for your language:

What You Get

  • 🔐 Authentication - API key management and request signing
  • 💳 Payment Verification - X402 protocol support
  • 🛡️ Error Handling - Proper error types and validation
  • 📝 Type Safety - Full type definitions
  • 🚀 Framework Integration - Drop-in middleware/decorators
  • ⚡ Performance - Production-ready

Quick Example

Here’s how simple it is to add payment verification to an existing route:
app.get('/premium-content', 
  fdPayment({ amount: 100, currency: 'USD' }), 
  (req, res) => {
    res.json({ content: 'Your premium content' });
  }
);

Need Help?