Payment Links Operations

Following are the operations possible with Payment Links:

Creating a Payment Link#

You can create a payment link to collect funds from your customers via the Dashboard or API. When you create a payment link, it moves to issued state by default.

To create a payment link via the API, refer the API reference page.

To create a payment link from the Dashboard:

  1. Log in to Razorpay Dashboard.
  2. Go to Payment Links.
  3. Click Create Payment Link.
  4. Enter the following payment link details:
    1. Amount
    2. Summary
    3. Receipt No.
    4. Expire By
    5. Customer Mobile and/or Email.
  5. Select SMS, Email or both from the option Notify Customer to define the mode of sending the payment link.
  6. Click Add Internal Note to add any other information about the payment.
  7. Click Save to create a payment link.

The filled in details should look like the image shown below:

Once the payment link is created, it will appear on the list of previously created links. You can search/ list a payment link by using any one or a combination of the following fields:

  • Status
  • ID
  • Receipt No.
  • Customer Contact
  • Customer Email

Note: You can edit the non-mandatory fields such as Receipt No. and Expire By from the Dashboard. However, the details cannot be edited after issuing.

Cancelling a Payment Link#

If you do not want your customers to use the payment link you created, you can cancel the issued payment link. You can only cancel a the link that is in the issued state.

To cancel a payment link via the API, refer the API reference page.

To cancel a payment link from the Dashboard:

  1. Log in to Razorpay Dashboard.
  2. Go to Payment Links.
  3. Click on the Payment Link ID you want to cancel.
  4. Click Cancel and confirm the same by clicking Yes, Cancel.

Resending Notification#

You can resend a payment link to your customer, if required.

To resend the payment link:

  1. Log in to Razorpay Dashboard.
  2. Go to Payment Links.
  3. Select the Payment link ID you wish to resend.
  4. Click Send Link or copy the link given in the Payment Link field.
  5. Select the modes in which you want to send the link and click Send Link.

Using Webhooks with Payment Links#

When the payment link you have sent to your customer gets paid or expired, you can enable a webhook to get notified about it. You can use the following webhooks along with Payment Links:

invoice.paid
Triggered when an invoice is successfully paid.
invoice.expired
Triggered when an invoice gets expired.

These webhooks let you receive notification about the payment link's status changes. Webhooks can be enabled from your Dashboard under the Webhooks section. Refer our documentation on webhooks here for more details.