m2pfintech
Implementation Guide

Notification Setup

Configure SMS, email, push notification, and webhook channels with customizable templates.

The M2P Platform supports multi-channel notifications for transaction alerts, security events, and system callbacks. All templates are configurable per tenant.


Notification Channels

ChannelUse CasesConfiguration Required
SMSTransaction alerts, OTP delivery, card status updatesSMS gateway credentials provided by your organization
EmailStatements, welcome emails, card dispatch notificationsSMTP configuration or M2P-managed delivery
Push (FCM)Real-time in-app notificationsFirebase project credentials
WhatsAppTransactional alertsWhatsApp Business API credentials
WebhooksSystem-to-system event callbacksYour HTTPS endpoint URL

Notification Events


Template Configuration

Notification templates use dynamic placeholders that are automatically populated at the time of delivery.

Example: Transaction Alert Template

Dear {customerName}, your {cardType} card ending {last4} was used for 
{txnType} of {currency} {amount} at {merchant}. 
Balance: {currency} {balance}. Ref: {txnRefNo}. 
If not you, call {helpline}.

Available Placeholders

PlaceholderDescriptionExample Value
{customerName}Customer's registered nameJane Smith
{last4}Last 4 digits of card number1234
{amount}Transaction amount5,000.00
{currency}Currency codeINR
{merchant}Merchant nameOnline Store
{txnRefNo}Transaction reference numberTXN20260306001
{balance}Available balance after transaction15,000.00
{txnType}Transaction typeDEBIT / CREDIT / REVERSAL
{cardType}Card typeVirtual / Physical
{helpline}Your program's helpline numberConfigured per tenant

Templates are configured by M2P during onboarding. To update templates, contact your M2P account manager with the new template text and placeholder requirements.


Webhook Configuration

Webhooks are the recommended channel for system-to-system integration. For detailed webhook setup, event types, payload formats, and signature verification, see the dedicated Webhook Guide.

SettingDescription
Webhook URLYour HTTPS endpoint URL (TLS 1.2+ required)
Webhook SecretShared secret for HMAC-SHA256 signature verification
Subscribed EventsList of event types you want to receive
Retry PolicyAutomatic retry with exponential backoff (up to 5 attempts)

On this page