m2pfintech
Implementation Guide

Notification Setup

Configure SMS, email, push notification templates and webhook subscriptions for your prepaid program.

Notifications are configured at the product level as part of the notification array in product configuration.


Notification Channels

ChannelDelivery MethodBest For
SMSSMS gatewayCritical alerts (declines, blocks, OTP)
EmailSMTP / SES / SendGridDetailed notifications (statements, onboarding)
PushFCM / APNSReal-time app notifications (transactions, loads)
WebhookHTTP POSTPartner system integration

EventSMSEmailPushPriority
Card ActivationHigh
Transaction SuccessHigh
Transaction DeclineHigh
ATM WithdrawalHigh
Card LoadMedium
Card Lock/BlockCritical
PIN ChangeHigh
Low Balance AlertMedium
Pre-Card ExpiryMedium
Card DispatchLow
Card DeliveryLow

Threshold-Based Notifications

Some events support threshold configuration:

ConfigurationBehavior
Transaction events with thresholdOnly notify for transactions ≥ threshold amount
Balance alerts with thresholdNotify when balance falls ≤ threshold amount

Example: Only send SMS for transactions above ₹500:

SettingValue
Event TypeCARD_TXN_SUCCESS
ChannelsSMS, Push
Threshold Amount500

Template Variables

Available placeholders for notification templates:

VariableDescriptionExample
{amount}Transaction amount5000.00
{balance_amount}Balance after transaction15000.00
{card_number}Masked card numberXXXX1234
{name}Customer nameJohn Doe
{mobile}Customer mobile+919876543210
{date_time}Transaction date/time12/02/2026 14:30
{merchant}Merchant nameAmazon India
{currency_code}CurrencyINR
{rrn}Retrieval Reference Number123456789012
{mode}Transaction channelPOS
{fees}Fee charged20.00
{expiry}Card expiry12/2029
{error_reason}Decline reasonInsufficient Balance
{kit}Kit/card reference650527XXXX1234
{product_name}Product display nameRetail Prepaid Card

For webhook integration, event subscriptions, and payload schemas, see the Webhook Guide.

On this page