Integration Guide
Integration Guide
Authenticate, encrypt, and integrate with the M2P Prepaid Platform — step by step.
This guide covers everything you need to connect your application to the M2P Prepaid Platform — from authentication and encryption to complete integration flows.
Authentication Architecture
The platform uses a layered authentication model with increasing security for sensitive operations:
Quick Start
Authentication
Get your JWT token and make your first authenticated API call.
Gateway Encryption
Implement RSA + AES envelope encryption for sensitive operations.
Integration Flows
End-to-end sequence diagrams for registration, transactions, tokenization, and more.
Idempotency & Rate Limits
Prevent duplicate transactions and handle rate limiting gracefully.
Testing
Test cards, test mobile numbers, and Sandbox environment details.
Required Headers
Every API call must include these headers:
| Header | Required | Description | Example |
|---|---|---|---|
Authorization | Yes | JWT Bearer token from login | Bearer eyJhbGci... |
Content-Type | Yes | Request content type | application/json |
TENANT | Yes | Your tenant identifier | MYFINTECH |
Accept | Recommended | Expected response format | application/json |
