search

Subscription Pre-Notify Callback

Use Case

The sample response for Wallet as a payment source is mentioned below.

Success

[NOTIFICATIONSTATUS] => SUCCESS
[TXNDATE] => 14/09/2020 00:00
[NOTIFICATIONDATE] => 14/09/2020 11:37
[REFERENCEID] => REF_123456
[TXNMESSAGE] => test
[CHECKSUMHASH] => xbvLARtx3FvOsDF5CR0WhlRbLvtd09j9leyHxO+Wf87XheOrmHxO+P6yJ/dsfwjL1Q9WR6AoDa9TIBSsoAxZnqZvqv6hTW4bIxVGloeRpTk=

 

The parameters are briefly described below.

Response Attributes

ATTRIBUTE DESCRIPTION
REFERENCEID unique refernce id
Example: REF_123456
TXNMESSAGE reason for debit, Max Length 200
Example: subscription for postpaid mobile bill
NOTIFICATIONSTATUS whether notification has been successfully sent (SUCCESS, FAILURE)
Example: SUCCESS
NOTIFICATIONSTATUSCODE status code due to which notification has failed
Example: 0
NOTIFICATIONSTATUSMESSAGE Status message
Example: MandateSubs
TXNDATE date on which debit is intended to happen
Format : DD/MM/YYYY HH:MM
Example: 15/07/2020 00:00
NOTIFICATIONDATE date on which notification has been sent.
Format : DD/MM/YYYY HH:MM
Example: 14/07/2020 17:06
CHECKSUMHASH Paytm validates the parameter values by verifying the signature comes in the request. It ensures that parameter values are not tempered. Signature string can be created by using Paytm checksum library.
Example:
y5Tn02QKOQdhyYKK+uHHgNIIZOjC/XXXXjSPQRBNSrcP6DR3ejFuQ4+kQi0a8KX2txJCnQkTnUxtJhM6jImU8FU+E1GlSSK5VjMLsSm/R6w=