Create an Instant Refund

POST https://api.razorpay.com/v1/payments/{pay_id}/refund

Create an instant refund using this API. You can refund the entire amount or a partial amount. For example, for payment of INR100, you can refund the entire INR100 or INR50.

Know more about the Create an Instant Refund API.

Request Body

{"amount"=>20000, "receipt"=>"Receipt No. 2", "notes"=>{"notes_key_1"=>"Tea, Earl Grey, Hot", "notes_key_2"=>"Tea, Earl Grey… decaf."}}

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: ``