The payment entity returned by Razorpay is as shown on the right. It is returned in JSON form by the API (or in the object form if using language SDKs).
stringDetermines the type of Invoice. Pass
linkas the value, as it represents Payment Link.
stringDefaults to INR. We support more than 90 currencies.
stringA brief description of the Payment Link.
stringYou can pass the
customer_idin this field, if you are using Customers API. If not, you can pass the customer object described in the below fields.
stringThe customer's name.
stringThe email address of the customer.
stringThe contact number of the customer.
Billing address of the customer
Description of the line items
stringIf you are using Items API, you may use an existing item as a template for line items of invoice. You can still override other details such as name, description by passing these along with
item_id. Item will not be updated.
You can only use items of type
invoicewhile creating an invoice.
stringIs required without Item ID.
integerIs required without item ID.
integerThis needs to be passed if an item_id is not being passed. Defaults to
INR. Click here for a list of supported currencies.
integer. Defaults to 1
booleanIndicates whether the SMS has been sent to the customer. Possible values are
booleanIndicates whether the email has been sent to the customer. Possible values are
objectAny custom notes you might want to add to the link can be entered here. Refer Notes section of the API Reference Guide to learn more.