Introduction
Welcome to Bloque Payments documentation. Bloque provides a comprehensive payment infrastructure that enables developers to accept payments through multiple methods including cards, PSE (Colombian online banking), and cash payments.
What is Bloque Payments?
Bloque Payments is a TypeScript-first payment processing platform that simplifies payment integration into your web and mobile applications. It provides both backend SDKs for secure payment processing and frontend components for seamless user experiences.
Key Features
π³ Multiple Payment Methods
Accept payments through various channels:
- Card Payments: Credit and debit cards
- PSE: Colombian online banking system
- Cash Payments: Generate receipts for physical payment locations
βοΈ React Integration
Pre-built React components for quick integration:
π Secure by Default
PCI-compliant infrastructure with:
- End-to-end encryption
- Secure API key management
- Webhook signature verification
- No sensitive data stored on your servers
π¨ Customizable UI
Customize the payment experience to match your brand:
π± Type-Safe
Built with TypeScript from the ground up:
- Full type definitions included
- Discriminated union types for payment methods
- IntelliSense support in modern editors
- Compile-time type checking
Architecture
Bloque Payments follows a secure architecture pattern where sensitive payment data never touches your backend:
- Frontend captures payment data securely
- Your Backend processes payments using Bloque SDK
- Bloque API handles payment processing and verification
Use Cases
E-commerce Platforms
Build online stores with seamless checkout experiences and support for multiple payment methods.
SaaS Applications
Accept subscription payments and one-time purchases directly in your application.
Marketplace Platforms
Enable sellers and buyers to transact securely with instant payment processing and automated settlement.
Mobile Applications
Integrate payments into React Native apps using the same components and API.
Packages
The Bloque Payments ecosystem consists of three main packages:
Backend SDK (@bloque/payments)
Server-side SDK for creating checkouts and processing payments:
React Components (@bloque/payments-react)
Pre-built React components for payment forms:
Web Components (@bloque/payments-elements)
Framework-agnostic web components for vanilla JavaScript, Vue, Svelte, and more.
Why Bloque Payments?
Developer Experience
- Clear, comprehensive documentation
- Practical examples for common use cases
- Intuitive API design
- TypeScript-first approach
Production Ready
- Battle-tested in production
- Comprehensive error handling
- Detailed logging and debugging support
- Webhook support for real-time updates
Flexible Integration
- Works with any JavaScript framework
- Supports Node.js, Bun, and Deno
- Browser and React Native compatible
- Minimal dependencies
Colombian Market Focus
Native support for Colombian payment methods:
- PSE integration for online banking
- Cash payment network integration
- Colombian peso (COP) support
- Local compliance requirements
Next Steps
Ready to integrate payments? Follow our Quick Start guide to accept your first payment in minutes.
- Quick Start - Get up and running quickly
- React Integration - Use BloqueCheckout component
- Payment Methods - Learn about available payment options
- Webhooks - Handle payment events