Facades: merchant
Since v8.7.0
Overview
Updates the status of a refund from preview to created.
Parameters
| Parameter | Description |
|---|---|
| guid | A variable provided by the merchant and designed to be used by the merchant to correlate the refund with a refund ID in their system. |
| status | The 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. |
Example
Refund updateRefund = bitpay.updateRefundByGuid("f281d1d1-5c35-4e28-89bc-031e771c787c", RefundStatus.Created);