Welcome to Modulus Labs
Modulus Labs provides payment infrastructure for businesses in the Philippines. Our suite of APIs enables you to accept QR Ph payments, onboard merchants, and receive real-time transaction notifications.Security & Compliance
PCI DSS 4.1 Certified - Modulus Labs maintains PCI DSS 4.1 compliance, ensuring the highest standards of payment security and data protection for all transactions processed through our APIs.
QR API
Accept QR Ph payments with Dynamic QR codes
Onboarding API
Onboard merchants to accept various payment methods
Webhooks API
Receive real-time transaction notifications
QR API
Accept QR Ph payments from your customers using Dynamic QR codes. The QR API enables Consumer Scans Business (C2B) transactions where customers scan QR codes using their banking apps to complete payments. Key Features:- Generate Dynamic QR Ph codes with specific amounts and references
- Support for multiple currencies (PHP, USD, etc.)
- JWE-encrypted payloads for maximum security
- Real-time webhook notifications for payment status
- Comprehensive error handling
- Full sandbox environment for testing
- E-commerce checkout payments
- In-store point-of-sale transactions
Onboarding API
Streamline merchant onboarding with our KYC (Know Your Customer) API. Enable businesses to accept various payment methods including QR Ph, PayMaya, GCash, and more through a single integration. Key Features:- Complete merchant onboarding workflow
- Support for multiple payment methods (QR Ph, PayMaya, GCash, Cards)
- Document upload and verification
- Business information collection
- JWT-based authentication
- Payment service provider platforms
- Multi-merchant marketplaces
- Financial technology applications
- Business management platforms
Webhooks API
Receive real-time notifications when QR Ph transactions complete. Webhooks push transaction updates directly to your server, enabling instant order fulfillment and payment verification. Key Features:- Real-time transaction notifications
- JWE-encrypted payloads for security
- Automatic retry mechanism (up to 4 attempts)
- Support for success and declined events
- HTTP Basic Authentication
- Multi-merchant support with activation codes
- Order fulfillment automation
- Payment confirmation emails
- Transaction reconciliation
- Real-time dashboard updates
- Customer notification systems
Authentication
Each API uses different authentication methods:| API | Authentication Method | Header Format |
|---|---|---|
| QR API | HTTP Basic Auth | Authorization: Basic {credentials} |
| Onboarding API | JWT Bearer Token | Authorization: Bearer {token} |
| Webhooks API | HTTP Basic Auth | Authorization: Basic {credentials} |
Environments
All APIs are currently available in sandbox mode for testing:| API | Sandbox URL |
|---|---|
| QR API | https://qrph.sbx.moduluslabs.io |
| Onboarding API | https://kyc.sbx.moduluslabs.io |
| Webhooks API | https://webhooks.sbx.moduluslabs.io |
Quick Links
QR API Reference
View QR API endpoints
Onboarding API Reference
View Onboarding API endpoints
Webhooks API Reference
View Webhooks API endpoints
Error Codes
Common error codes and solutions
Testing
Test in sandbox environment
Webhook Setup
Configure webhook endpoints
Enums Reference
Onboarding API enumerations
Webhook Payload
Understand webhook data structure
Support
Contact technical support
Getting Started
Choose your integration path:1
Accept QR Payments
Start with the QR API introduction to accept QR Ph payments from customers. Set up webhooks to receive real-time notifications.
2
Onboard Merchants
Use the Onboarding API to enable merchants to accept various payment methods through your platform.
3
Build a Complete Platform
Combine all three APIs to create a comprehensive payment solution: onboard merchants, accept QR payments, and receive real-time notifications via webhooks.
New to our APIs? Start with the QR API quickstart guide to make your first API call in minutes, then explore webhooks for real-time notifications.
Support
For technical support and questions:- Email: [email protected]
- Documentation feedback: Use the feedback buttons on each page
- Technical issues: Include API endpoint, request/response details, and error codes