Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

razorpay refund laravel

$refund = $api->refund->create(array('payment_id' => $id)); // Creates refund for a payment
$refund = $api->refund->create(array('payment_id' => $id, 'amount'=>$refundAmount)); // Creates partial refund for a payment
$refund = $api->refund->fetch($refundId); // Returns a particular refund
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #razorpay #refund #laravel
ADD COMMENT
Topic
Name
1+7 =