For ease of understanding, the response for each request is shown on the right panel. The responses can be formatted in JSON.
The various parameters are explained below:
stringUnique identifier of the payment.
stringIndicates the type of entity.
stringThe payment amount represented in smallest unit of the currency passed. For example, amount = 100 translates to 100 paise, that is ₹1 (default currency is INR).
stringThe currency in which the payment is made. Refer to the list of international currencies that we support.
stringThe status of the payment. Possible values:
stringThe converted payment amount that will be used to calculate fees and settlements. Represented in smallest unit of the
base_currency. This attribute is currently only present if the
stringThe conversion currency that will be used to calculate fees and settlements. This currently defaults to INR, and is present only if the
stringThe payment method used for making the payment. Possible values:
stringOrder ID, if provided. Read Orders API to learn more.
stringDescription of the payment, if any.
booleanIndicates whether the payment is done via an international card or a domestic one.
stringThe refund status of the payment. Possible values include:
integerThe amount refunded in smallest unit of the currency passed.
For example, if
amount_refunded= 100, here 100 stands for 100 paise, which is equal to ₹1. INR is the default currency.
booleanIndicates if the payment has been captured.
stringCustomer email address used for the payment.
stringCustomer contact number used for the payment.
integerFee (including GST) charged by Razorpay.
integerGST charged for the payment.
stringCode for the error that occurred during payment. For example,
stringDescription of the error that occurred during payment.
json objectContains user-defined fields, stored for reference purposes.
integerTimestamp, in UNIX format, on which the payment was created.