Payment Link Entity🔗
The following table details some of the attributes related to Payment Links:
accept_partialoptional-
booleanIndicates whether customers can make partial payments using the Payment Link. Possible values:true- Customer can make partial payments.false(default) - Customer cannot make partial payments.
amount-
integerAmount to be paid using the Payment Link. Must be in the smallest unit of the currency. For example, if you want to receive a payment of ₹299.95, you must enter the value29995. amount_paid-
integerAmount paid by the customer. callback_url-
stringIf specified, adds a redirect URL to the Payment Link. Once the customer completes the payment, they are redirected to the specified URL. callback_method-
stringIfcallback_urlparameter is passed,callback_methodmust be passed with the valueget. cancelled_at-
integerTimestamp, in Unix, at which the Payment Link was cancelled by you. created_at-
integerTimestamp, in Unix, indicating when the Payment Link was created. currency-
stringDefaults to INR.We accept payments in international currencies. We accept payments in international currencies. customer-
Customer details
namestringThe customer's name.emailstringThe customer's email address.contactstringThe customer's phone number.
description-
stringA brief description of the Payment Link. expire_by-
integerTimestamp, in Unix, when the Payment Link will expire. By default, a Payment Link will be valid for six months from the date of creation. Please note that the expire by date cannot exceed more than six months from the date of creation. expired_at-
integerTimestamp, in Unix, at which the Payment Link expired. first_min_partial_amount-
integerMinimum amount that must be paid by the customer as the first partial payment. For example, if an amount of ₹7,000 is to be received from the customer in two installments of #1 - ₹5,000, #2 - ₹2,000, then you can set this value as500000. id-
stringUnique identifier of the Payment Link. For example,plink_ERgihyaAAC0VNW. notes-
objectSet of key-value pairs that you can use to store additional information. You can enter a maximum of 15 key-value pairs, with each value having a maximum limit of 256 characters. notifyoptional-
arrayDefines who handles Payment Link notification.smsbooleanDefines who handles the SMS notification.true- Razorpay handles the notification.false- You handle the notification.
emailoptionalbooleanDefines who handles the email notification.true- Razorpay handles the notification.false- You handle the notification.
payments-
arrayPayment details such as amount, payment ID, Payment Link ID and more. This array gets populated only after the customer makes a payment. Until then, the value isnull.amountintegerThe amount paid by the customer using the Payment Link.created_atintegerTimestamp, in Unix, indicating when the payment was made.methodstringThe payment method used to make the payment. Possible values:netbankingcardwalletupiemibank_transfer
payment_idstringUnique identifier of the payment made against the Payment Link.plink_idstringUnique identifier of the Payment Link. For example,plink_ERgihyaAAC0VNW.statusstringThe payment state. Possible values:capturedfailed
updated_atintegerTimestamp, in Unix, indicating when the payment was updated.
reference_idoptional-
stringReference number tagged to a Payment Link. Must be a unique number for each Payment Link. The maximum character limit supported is 40. short_url-
stringThe unique short URL generated for the Payment Link. status-
stringDisplays the current state of the Payment Link. Possible values:createdpartially_paidexpiredcancelledpaid
Note:
Know more about Standard Payment Link States.
updated_at-
integerTimestamp, in Unix, indicating when the Payment Link was updated. reminder_enableoptional-
booleanUsed to send reminders for the Payment Link. Possible values:true- To send reminders.false- To disable reminders.
user_id-
stringA unique identifier for the user role through which the Payment Link was created. For example,HD1JAKCCPGDfRx.