• Getting Started
    • Mobile Integration (Android/IOS)
      Enterprise Solutions
      Accept Payments
      Process Payments
      Disbursals
      API References
      Webhooks
      Testing
      Refunds
      Guides
      Other Processes
      Mini Program Platform
        Website Integration

      Notifications

      Paytm Mini Program gives you the functionality to send post payment notification to any of your mini program user. For sending Notifications, you need to hit the Paytm notification service with desired Payload as per the notification template.

      The flow for the notification service is as follow:

      1. You need to make a S2S call from your IP whitelisted server to Notification endpoint using sendPartnerNotification API with following parameters:

        1. clientId
        2. OpenID
        3. Order ID
        4. mid
        5. Template Name
        6. NotificationPayload
      2. Post successful validation of your request, Paytm will send notification to the Paytm user recognised by the OpenId.
      3. There is a limit on the number of Notifications, you can send for any transaction: current limit by default is set to 3 notifications per orderId within a 7 day period.

      There are three sample notification templates which you can use for testing purposes:

      • Test Template with Static text:


        Template Name: Miniprogram_test_template_1
        Expected Payload: Null
        Expected Response: This is test notification template
      • Test Template with Dynamic Params :-


        Template Name: Miniprogram_test_template_2
        Expected Payload: "body":"Your custom notification message"
        Expected Response: Your custom notification message
      • Test Template with Dynamic Params and Deeplink :-

        Template Name: Miniprogram_test_template_3
        Expected Payload: "body":"Your custom notification message"
        Expected Response: Your custom notification message