Integration Guide
Integration Overview
Architecture overview, authentication, service routing, and integration patterns for M2P Prepaid Platform APIs.
This guide covers the technical patterns for integrating with M2P Prepaid Platform — from authentication and service routing to transaction flows and security best practices.
Authentication
JWT tokens, headers, and authorization model.
Multi-Tenancy
Tenant isolation, hierarchy structure, and data partitioning.
Service Routing
Which service handles which operation.
Core Flows
GPR, Forex, Wallet, Branch issuance sequence diagrams.
Entity States
Customer, card, and workflow state machines.
Transaction Processing
Ledger patterns, transaction types, and limits.
Security
Encryption, PCI-DSS, PIN security, and IP whitelisting.
Platform Architecture
Quick Reference: Service Base URLs
| Service | Sandbox | Production |
|---|---|---|
| Configuration API | https://sandbox-api.m2pprepaid.com/configs/ | https://api.m2pprepaid.com/configs/ |
| Customer API | https://sandbox-api.m2pprepaid.com/prepaid/customer/ | https://api.m2pprepaid.com/prepaid/customer/ |
| Corporate API | https://sandbox-api.m2pprepaid.com/prepaid/corporate/ | https://api.m2pprepaid.com/prepaid/corporate/ |
| pp-middleware | https://sandbox-api.m2pprepaid.com/prepaid/middleware/ | https://api.m2pprepaid.com/prepaid/middleware/ |
OpenAPI/Swagger UI is available at each service's /api-docs endpoint for interactive exploration.
