Overview
Cancels an existing refund request. If successful will return the refund request with updated status cancelled
.
Parameters
Parameter | Description |
---|---|
refund_id * | The refund Id for the refund to be canceled |
Example
Note
In this example, we assume that a Client has already been initialized and assigned to the
bitpay
variable
bitpay.cancel_refund('someRefundId')