In case your user’s card linked to the active subscription is about to expire, Paytm will send an S2S response to the webhook configured, post which a notification can be triggered to the customer informing the expiry of the card, which has active subscription on it to as to avoid failure in payment collection. We have the flexibility of:
- Notify 7 days in advance
- Notify 1 day in advance
- On card expiry
The sample response is mentioned below.
[CUSTID] => CUST_001
[PAYMENTMODE] => CC
[MID] => INTEGR7769XXXXXX9383
[MASKEDCARDNUMBER] => 5126********2205
[FREQUENCYUNIT] => MONTH
[MAXAMOUNT] => 1000.0
[CARDEXPIRYDATE] => 122025
[CREATEDDATE] => 2020-05-05 10:00:11
[FREQUENCY] => Day
[AMOUNTTYPE] => VARIABLE
[CUSTNAME] => Rahul
[CUSTEMAILID] => customer@example.com
[CUSTMOBILE] => 7777777777
[CHECKSUMHASH] => y5Tn02QKOQdhyYKK+uHHgNIIZOjC/XXXXjSPQRBNSrcP6DR3ejFuQ4+kQi0a8KX2txJCnQkTnUxtJhM6jImU8FU+E1GlSSK5VjMLsSm/R6w=
[SUBS_ID] => 65253