search
Your Paytm for business app is working and will keep working beyond March 15th, 2024. Click to know more

Paytm Instruments Introduction

Overview

 

Users can avail Paytm payment instruments, i.e. Paytm Wallet, Postpaid, and Paytm Payments Bank for performing transactions on the AI Router checkout page by logging in via mobile number and OTP

 

Below is the user login journey for the Paytm payment instrument: 

 

  1. User selects Paytm as a payment option and enters the mobile number
  2. Merchant integrates with the Generate OTP API of the AI Router and calls it over the application or website. 
  3. AI Router sends an OTP to the user’s mobile number. Once the user enters the OTP to complete the authentication process. Validate OTP API is called to validate the OTP entered by the user. 
  4. If the OTP entered by the user is correct then the merchant's app or browser will display successful login to the user. In other cases, the user is asked to enter a valid OTP in the merchant's app / browser. 
  5. The user will be logged in to the wallet account and as part of the Validate OTP response, all three Paytm instruments, i.e. Paytm Wallet, Paytm Postpaid, and Paytm Payments bank will be fetched and displayed to the user. 

     Note: The payment option which is returned as part of the API response depends on the following factors

    • Whether the merchant has enabled the payment options (Wallet / Postpaid / Paytm Payments Bank A/C) on their MID through the merchant panel. 
    • Whether an active Wallet / Postpaid / Paytm Payments Bank A/C account exists for the user.

    Merchants can utilize the AccountStatusInfo parameter from Verify OTP response to check the above-mentioned configuration / status and can accordingly show the payment options on their checkout page.

 

Balance Information

 

  1. Paytm Wallet: The available balance in the user’s Paytm wallet account will be fetched and displayed on the checkout page as part of the Verify OTP API response. 
  2. Paytm Postpaid: To fetch the available balance on a user's Paytm Postpaid account, the merchant should integrate and call the Fetch Balance API during login. 
  3. Paytm Payments Bank: To fetch the available balance on a user's Paytm Postpaid account, the merchant should integrate and call the Fetch Balance API during login. 

 

After logging into the Paytm account, the user can select any of the below-mentioned Paytm instruments to complete their payment: 


Login Journey for Returning Users

Depending  on the type of integration, merchants can offer two different types of flow to their returning users: 

  1. Auto Login 
  2. Mobile No. & OTP Based login

1. Auto login:

  1. The auto-login flow allows new users to provide their consent to keep their Paytm account logged in on the merchant’s checkout page.
  2. Users can simply select the “Remember Me” checkbox to provide their consent while logging in for the first time. This value is taken as input in the Verify OTP API request. 

    Note: To provide a pre-login / auto-login feature to their returning users, merchants will have to integrate with AI Router’s Fetch Payment Options API to power their checkout page. 

  3. When the user returns back on the merchant’s checkout page, the checkout page will be rendered via Fetch Payment Options API, and the user’s Paytm featured instruments will be fetched and displayed to the user, without the additional step of logging into the Paytm account again.

 

2. Mobile number & OTP-based login:

If the merchant has not integrated the Fetch Payment Options API on its checkout page, the login-based flow will be shown to the user. Users will have to login via mobile number and OTP to access Paytm Wallet, Postpaid, and Paytm Payments Bank A/C payment options.