Skip to content

Bridge PaymentsProduction-Ready Payment Backend

Universal Payment Backend - Accept payments with Stripe, PayPal, Authorize.net, and more

Bridge Payments

🎨 Official Client Libraries Available

Bridge Payments provides official client libraries that make integration incredibly simple:

⚛️ @pubflow/react

For React apps (Vite, CRA, TanStack)

View Integration Guide →

📱 @pubflow/react-native

For React Native & Expo apps

View Integration Guide →

▲ @pubflow/nextjs

For Next.js apps (App Router & Pages)

View Integration Guide →

🚀 No Backend Required for Basic Payments

These client libraries connect directly to Bridge Payments - no custom backend needed! Just install the package, configure your Bridge Payments URL, and start accepting payments.

Want to add custom business logic? You can easily integrate Flowfull (custom backend framework) alongside Bridge Payments.

What's included:

  • ✅ Full TypeScript support with auto-complete
  • ✅ Automatic session-based authentication
  • ✅ Built-in error handling and retries
  • ✅ Payment intents, subscriptions, payment methods
  • ✅ Guest checkout support
  • ✅ Multi-tenant organization support

View All Client Libraries →


Quick Example

Create a Payment Intent

typescript
// Create payment intent
const response = await fetch('https://your-instance.pubflow.com/bridge-payment/payments/intents', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-Session-ID': sessionId // From Flowless authentication
  },
  body: JSON.stringify({
    subtotal_cents: 1800,
    tax_cents: 200,
    total_cents: 2000,
    currency: 'USD',
    concept: 'Premium Subscription',
    provider_id: 'stripe'
  })
});

const { client_secret } = await response.json();

Confirm Payment (Frontend)

typescript
// Using Stripe Elements
const { error } = await stripe.confirmPayment({
  elements,
  confirmParams: {
    return_url: `${window.location.origin}/success`
  }
});

Why Bridge Payments?

🚀 Deploy in Minutes

Create your Bridge Payments instance from Pubflow Platform dashboard. Configure providers, set environment variables, and start accepting payments - all from one place.

🔧 Built on Pubflow

Seamlessly integrates with Flowless authentication. Your users' sessions are automatically validated, and payment data is linked to their accounts.

🎯 Developer-Friendly

Clean REST API, comprehensive documentation, TypeScript support, and official client libraries. Everything you need to integrate payments quickly.

📊 Production-Ready

Battle-tested with automatic retries, error handling, rate limiting, and comprehensive logging. Built for scale from day one.

Trusted By

Bridge Payments powers payment processing for applications built on Pubflow, handling everything from simple donations to complex subscription management.

Need Another Payment Provider?

Request New Provider Support

Bridge Payments is designed as a universal payment system with an extensible architecture. While we currently support Stripe, PayPal, and Authorize.net, we can add support for additional payment providers based on demand.

Popular providers we can integrate:

  • Square, Braintree, Adyen, Razorpay, Mercado Pago, 2Checkout, Klarna, and many more...

To request a new provider: Contact us at [email protected]

Learn more about requesting providers →

🌐 Explore the Pubflow Ecosystem

Bridge Payments is part of a complete ecosystem for building modern applications:

🔐 Flowless

Managed Authentication Service

User registration, login, sessions, OAuth - fully managed, no setup required.

Explore Flowless →

⚡ Flowfull

Backend Framework

Build your custom backend with business logic, integrates seamlessly with Flowless.

Explore Flowfull →

🎨 Flowfull Clients

Frontend Libraries

Pre-built components for React, Next.js, React Native + production-ready starter kits with Bridge Payments support.

View Clients →

💳 Bridge Payments (You are here)

Universal Payment Backend

Accept payments with Stripe, PayPal, Authorize.net - unified API for all providers.

Get Started →

Built on the Native Payments Standard

Open Source Payment Standard

Bridge Payments is based on Native Payments, an open-source payment standard and global structure created by Pubflow for building payment systems.

Native Payments provides a standardized approach to payment processing, database schemas, API design, and provider integrations - making it easier to build, maintain, and scale payment infrastructure.

Learn more: github.com/pubflow/native-payments