Update a Refund by GUID

Facades: merchant

Since v8.7.0


Updates the status of a refund from preview to created.


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.
statusThe new status for the refund to be updated. Set to created in order to confirm the refund request and initiate the flow to send it to shopper.


Refund updateRefund  = bitpay.updateRefundByGuid("f281d1d1-5c35-4e28-89bc-031e771c787c", RefundStatus.Created);