Cancels an existing refund request. If successful will return the refund request with updated status cancelled
.
Parameter | Description |
---|
refundId | The BitPay refund ID to cancel. |
$cancelRefund = $bitpay->cancelRefund($invoice->getId(), $retrievedRefund);