Cancel Refund Request

Overview

Cancels an existing refund request. If successful will return the refund request with updated status cancelled.

Parameters

ParameterDescription
refundIdThe BitPay refund ID to cancel.
$cancelRefund = $bitpay->cancelRefund($invoice->getId(), $retrievedRefund);