Skip to content

Bridge PaymentsProduction-Ready Payment Backend

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

Bridge Payments

Platform features: memberships, products & hosted UI ​

Optional capabilities you enable per instanceβ€”JSON APIs for memberships and products, plus Bridge Pages and Bridge Embeds so you can ship checkout and account flows with almost no custom frontend.

πŸͺͺ Memberships

Tiers, organization and project memberships, feature checks, cancellations, and admin analytics and tier managementβ€”all under /bridge-payment/memberships and /bridge-payment/admin/memberships.

Memberships guide β†’ Β· API operations β†’

πŸ“¦ Products

Public product listing when PRODUCT_LISTING_ENABLED is onβ€”catalog-style access alongside your payment and subscription flows.

Products listing β†’ Β· API Reference β†’

πŸ–₯️ Bridge Pages

Server-rendered UI at /pages/* (not under /bridge-payment): pay links, login, customer portal, subscriptions, cards, addresses, billing history. Turn on PAGES_ENABLED and share URLsβ€”no separate frontend required for many Flowless-backed flows.

Flags & module hub β†’ Β· Environment setup β†’

πŸ“ Bridge Embeds

Iframe-ready widgets at /embed/* with EMBED_ENABLED: pay, login, compact portal, subscriptions, payment methods, pay button, payment historyβ€”drop into any site and keep governance on your Bridge host.

Pages & embeds overview β†’ Β· OpenAPI (Bridge Embeds tag) β†’

Independent toggles

PAGES_ENABLED and EMBED_ENABLED are separate: you can run pages only, embeds only, both, or neitherβ€”see Module Hub & extensions.


🎨 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: Use the Pubflow Request Center (integrations and roadmap intake) or email [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