Resend Notification Link API

Checksum required: YES

Use Case


  • This API would be used to send notifications to customers for link on Email & SMS.

Request Parameters

Head

PARAMETERDESCRIPTIONMANDATORY
Timestamp longUnix Timestamp of the requestYES
clientId stringClientId by which key checksum is created, required to validate the checksumNO
Version StringVersion of the API. Current version is v1YES
channelId StringChannel by which call is initiatedYES
tokenType AESType of tokenYES
signature StringChecksum string created by using Paytm checksum logicYes

Body

PARAMETERDESCRIPTIONMANDATORY
mid StringMerchant unique identifier, Unique Id for merchant provided by PaytmYES
linkId StringThis is the unique link id for which notification needs to be sentYES
sendSms StringIf True the SMS would be sent on the number sharedNO
sendEmail StringIf True Email would be sent on the email sharedNO
notifycontact StringNotify contact JSON objectNo

NotifyContact JSON Object

PARAMETERDESCRIPTIONMANDATORY
customerName StringName of the customerNO
customerEmail StringEmail id of the customerNO
customerMobile StringMobile Number of the customerNO

Response Parameters

Head

PARAMETERDESCRIPTIONMANDATORY
timestamp longUnix Timestamp of the requestYES
clientId stringClientId by which key checksum is created, required to validate the checksumNO
Version stringVersion of the API. Current version is v1YES
channelId stringChannel by which call is initiatedYES
tokenType AESType of tokenYES
signature StringChecksum string created by using Paytm checksum logicYes

Body

PARAMETERDESCRIPTIONMANDATORY
notificationDetails json objectNotification Details JSON ObjectYES
resultInfo json objectResult info JSON ObjectYES

NotifyContact JSON Object

PARAMETERDESCRIPTION
customerName StringName of the Customer which will be sent in the notification message
contact StringContact Number of customer where the notification will be sent
notifyStatus StringStatus of the notification
timestamp StringUnix Timestamp of the response

ResultInfo JSON Object

PARAMETERDESCRIPTION
resultStatusStringStatus of API call
resultCodeintResult code for each result
resultMessageStringMessage contain the information about the result

Endpoints

Staging: https://securegw-stage.paytm.in/link/resendNotification

Production: https://securegw.paytm.in/link/resendNotification

Request CodeResponse JSON
curl -X POST https://securegw-stage.paytm.in/link/resendNotification -H 'Content-Type: application/json' -d '{"body":{"mid":"xxxxxxxxxxxxxxxxxxxx","linkId":"xx","sendSms":"true","sendEmail":"true","notifyContact":{"customerName":"Paytm lok Test","customerEmail":"xxxx@xxx.com","customerMobile":"xxxxxxxxxx"}},"head":{"timestamp":"xxxxxxxxxx","clientId":"XXX","version":"v1","channelId":"WEB","tokenType":"XXX","signature":"xxxxxxxxxxxx"}}'