Skip to main content
Use this endpoint to refund payments made on a QR Code.

Request

Curl

Response

Response

Parameters

id mandatory : string The unique identifier of the payment to be refunded.

Parameters

amount optional : string Amount to be refunded. If no value is passed, a full refund is issued. notes optional : object Key-value pair that can be used to store additional information about the QR Code. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, "note_key": "Beam me up Scotty”.

Parameters

id : string Unique identifier of the refund. entity : string Indicates the type of entity. Here, it is refund. amount : integer The amount to be refunded (in the smallest unit of currency). For example, refund in INR, a value of 100 means 100 paise (equivalent to ₹1). currency : string The currency of the amount for which refund is initiated. payment_id : string Unique identifier of the payment for which the refund is initiated. created_at : integer Timestamp, in Unix format, when the refund was created. batch_id : string This parameter is populated if the refund was created as part of a batch upload. For example, batch_00000000000001. notes : json object Key-value store for storing your reference data. A maximum of 15 key-value pairs can be included. receipt : string A unique identifier provided by you for your internal reference. acquirer_data : array A dynamic array consisting of a unique reference number (either RRN, ARN or UTR) that is provided by the banking partner when a refund is processed. This reference number can be used by the customer to track the status of the refund with the bank. status : string Indicates the state of the refund. Possible values:
  • pending: This state indicates that Razorpay is attempting to process the refund.
  • processed: This is the final state of the refund.
  • failed: A refund can attain the failed state in the following scenarios:
    • Normal refund is not possible for a payment which is more than 6 months old.
speed_requested : string The processing mode of the refund seen in the refund response. This attribute is seen in the refund response only if the speed parameter is set in the refund request. Possible value is normal, which indicates that the refund will be processed via the normal speed. That is, the refund will take 5-7 working days. Know more about normal refunds. speed_processed : string This is a parameter in the response which describes the mode used to process a refund. This attribute is seen in the refund response only if the speed parameter is set in the refund request. Possible value is normal, which indicates that the refund has been processed by the payment processing partner. The refund will take 5-7 working days. Know more about Refunds API to perform other refund-related operations:
  • Fetch a particular refund or a list of refunds for a payment ID.
  • Update a refund to modify the Notes field.