Refund a Payment Using a Customer Identifier
POST https://api.razorpay.com/v1/payments/{pay_id}/refund
Use this API to initiate a refund for a payment completed through a virtual account.
Request Body
{"amount"=>100, "notes"=>{"key_1"=>"value1", "key_2"=>"value2"}}