Refund Payments Made to a Customer Identifier
POST https://api.razorpay.com/v1/payments/{pay_id}/refund
You can process refunds for a payment made towards a virtual account using this API.
Request Body
{"amount"=>100, "notes"=>{"key_1"=>"value1", "key_2"=>"value2"}}