m2pfintech
Integration Guide

Core Integration Flows

Step-by-step sequence diagrams for GPR issuance, Forex issuance, Wallet issuance, Branch issuance, and Card replacement flows.

End-to-end sequence diagrams for the most common integration journeys.


GPR Card Issuance

The most common flow for issuing a General Purpose Reloadable card.

StepAPIServiceDescription
1POST /v1/products/Configuration APICreate product with BIN range
2POST /v1/corporates/Configuration APICreate corporate entity
3POST /v1/corporates/add-products/Configuration APIMap product to corporate
4POST /v1/customers/Customer APICreate customer with KYC
5POST /v1/corporate-issuances/Corporate APIIssue card, create account
6POST /v1/cards/activateCustomer APIActivate card
7POST /v1/wallets/loadCustomer APILoad wallet

BIN Range must exist before Product creation. Product must be mapped to Corporate before issuance.


Forex Card Issuance

Forex issuance is more complex due to LRS, TCS, and multi-currency requirements.

Forex State Machine:


Wallet Issuance (Cardless)


Network Authorization Flow

Real-time card transaction authorization when a cardholder uses their card at POS/ATM/E-Commerce:

Authorization checks (in order):

#CheckFailure Result
1Parse ISO messageNetwork-level decline
2PIN verificationInvalid PIN
3Card/Kit statusCard inactive/blocked
4MCC checkMCC restricted
5Country checkCountry not allowed
6Channel preferenceChannel disabled
7Fee calculationFee calculation error
8Limit + BalanceLimit exceeded / Insufficient balance

Card Replacement Flow


UPI Registration Flow

UPI Prerequisites: Product must have allowUpi: true, customer must have FULL_KYC, and UPI tenant identifier must be configured in corporate settings.

On this page