Payment Entity🔗
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:
id
string
Unique identifier of the payment.entity
string
Indicates the type of entity.amount
string
The 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).currency
string
The currency in which the payment is made. Refer to the list of international currencies that we support.status
string
The status of the payment. Possible values:
-created
-authorized
-captured
-refunded
-failed
base_amount
string
The converted payment amount used to calculate fees and settlements. Represented in smallest unit of thebase_currency
. This attribute is currently only present if thecurrency
is non-INR.base_currency
string
The conversion currency used to calculate fees and settlements. This currently defaults to INR, and is present only if thecurrency
is non-INR.method
string
The payment method used for making the payment. Possible values:
-card
-netbanking
-wallet
-emi
-upi
order_id
string
Order ID, if provided. Know more about Orders API.description
`string
Description of the payment, if any.international
boolean
Indicates whether the payment is done via an international card or a domestic one.refund_status
string
The refund status of the payment. Possible values include:
-null
-partial
-full
amount_refunded
integer
The amount refunded in smallest unit of the currency passed.
For example, ifamount_refunded
= 100, here 100 stands for 100 paise, which is equal to ₹1. INR is the default currency.captured
boolean
Indicates if the payment is captured.email
string
Customer email address used for the payment.contact
string
Customer contact number used for the payment.fee
integer
Fee (including GST) charged by Razorpay.tax
integer
GST charged for the payment.error_code
string
Error that occurred during payment. For example,BAD_REQUEST_ERROR
.error_description
string
Description of the error that occurred during payment. For example,Payment processing failed because of incorrect OTP
.error_source
string
The point of failure. For example,customer
.error_step
string
The stage where the transaction failure occurred. The stages can vary depending on the payment method used to complete the transaction. For example,payment_authentication
.error_reason
string
The exact error reason. For example,incorrect_otp
.notes
json object
Contains user-defined fields, stored for reference purposes.created_at
integer
Timestamp, in UNIX format, on which the payment was created.