API Test Keys

Send or Resend Notifications

POST
/v1/payment_links/:id/notify_by/:medium

Click to copy

Use this endpoint to send or resend notifications to your customers via email and SMS.

Is this page helpful?

Curl

change language

change language

1
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
2
-X POST https://api.razorpay.com/v1/payment_links/plink_Et2G7ymGcTTuM5/notify_by/sms \

Success

1
{
2
"success": true
3
}
Path Parameters
id

*

string

Unique identifier of the Payment Link that should be resent.

medium

*

string

Medium through which the Payment Link must be resent. Possible values:

  • sms
  • email

Response Parameters
success
boolean

Indicates whether the notification was sent successfully. Possible values:

  • true: The notification was sent successfully.

Errors

not a valid notification medium

Error Status: 400

Occurs when you try to resend a Payment Link to customers and medium of notification is not valid.

Solution

Send or Resend Notifications

POST
/v1/payment_links/:id/notify_by/:medium

Click to copy

Use this endpoint to send or resend notifications to your customers via email and SMS.

Is this page helpful?

Path Parameters
id

*

string

Unique identifier of the Payment Link that should be resent.

medium

*

string

Medium through which the Payment Link must be resent. Possible values:

  • sms
  • email

Response Parameters
success
boolean

Indicates whether the notification was sent successfully. Possible values:

  • true: The notification was sent successfully.

Errors

not a valid notification medium

Error Status: 400

Occurs when you try to resend a Payment Link to customers and medium of notification is not valid.

Solution

Curl

change language

change language

1
curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
2
-X POST https://api.razorpay.com/v1/payment_links/plink_Et2G7ymGcTTuM5/notify_by/sms \

Success

1
{
2
"success": true
3
}