Capture a Payment
POST https://api.razorpay.com/v1/payments/{pay_id}/capture
Use this API to update a payment’s status from authorized to captured.
For further information, see the Capture a Payment API.
Request Body
{"amount"=>1000, "currency"=>"INR"}