m2pfintech
Integration Guide

Multi-Tenancy

Tenant isolation model, hierarchy structure, and data partitioning in M2P Prepaid Platform.

Every partner operates within an isolated tenant. The X-TENANT-ID header ensures complete data isolation.


Isolation Guarantees

Isolation TypeDescription
DataAll collections/tables partitioned by tenant
ConfigurationProducts, BINs, corporates, and fees are tenant-specific
LimitsTransaction limits and wallet balances scoped per tenant
AuditAll audit logs scoped to originating tenant

Hierarchy Structure

Each tenant has a configurable organizational hierarchy:

LevelDescription
IssuerTop-level entity — bank, NBFC, or fintech
CorporateBusiness unit or program under the issuer
HierarchySub-division (branch, department, region)
ProductCard/wallet product configuration
CustomerEnd customer / cardholder
Card / WalletPhysical/virtual instrument linked to customer

Products must be mapped to a corporate hierarchy before issuance. Use POST /v1/corporates/add-products/ for product-to-hierarchy mapping.

On this page