Cancel a Refund by GUID

Facades: merchant

Since v8.7.0

Overview

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

Parameters

ParameterDescription
guidA variable provided by the merchant and designed to be used by the merchant to correlate the refund with a refund ID in their system.

Example

Refund cancelRefund = bitpay.cancelRefundByGuid("f281d1d1-5c35-4e28-89bc-031e771c787c");