Offers and Subvention on Payment Links can be integrated with minimal effort at merchant side. Merchant will have to just pass an object in Create Links API. Majority of the experience w.r.t payment page and offer validation would be managed at Paytm end. Merchant can show the offer details (discount / cashback) against a payment instrument to its end users (as shown in demo below) before the users clicks on the pay button and the transaction gets processed at our end. Here, merchant and Paytm both will modify the order once offer is successfully applied to any transaction for reconciliation purpose.
- Merchant calls the Create Links API with simplifiedUnifiedOffers as an object.
- For Bank Offers
a. Merchant calls the Create Links API with simplifiedUnifiedOffers as an object with promoDetails object populated in it. To apply a specific offer, the merchant uses the offerId parameter in the above object but to apply the best available offer as per the eligibility on a transaction, send the applyAvailablePromo parameter as True to get verified by Paytm.
b. If merchant wants to execute a transaction only with the promo code successfully applied, then they need to send the validatePromo parameter as True as the default value is False.
Note: For running item-based offers, items in the cart must be sent in the items object in the simplifiedUnifiedOffers and isAmountBasedBankOffer must be set to false in the promoDetails object.
Hosted checkout is invoked and the corresponding offers are shown in the offer strip. On selecting a payment option and entering the details, the offer gets applied and the final payable amount is shown on hosted Checkout, which the user can pay by clicking on "Proceed to Pay"
-
For EMI Subvention
Merchant calls the Create Links API with the simplifiedUnifiedOffers object with subvention details in the subventionDetails object. This object shall have the parameters of plan information and subvention identifiers.
-
Paytm Hosted checkout in invoked when user clicks on the link. It can be web/m-web/app.
- User selects EMI and Paytm Hosted checkout shows different plans available to the user by fetching from the database.
- User selects one of the zero-cost EMI tenures and proceeds with the payment.
Note: For running item-based subvention, items in the cart must be sent in the items object in the simplifiedUnifiedOffers, and isAmountBasedBankOffer must be set to false in the subventionDetails object.
In Transaction status API and Payment status Webhook, merchants will get the final order and offer construct details which got processed ultimately. This is a mandatory step.
Note: In case of discount, Paytm will only settle the discounted transaction amount.
For example: If the cart value of a customer is Rs 1000, and there is a bank offer which entitles a user a discount of Rs 100 on min cart value/order value of Rs 1000, then the effective order value would be Rs 900 only. Paytm will process the transaction which would be worth Rs 900. In case of cashbacks, the transaction value would be Rs 1000 only, as cashbacks have to be honoured by banks.