Facades: merchant
Overview
Updates the status of a refund request from preview
to created
.
Parameters
Parameter | Description |
---|---|
refundId | The refund ID to update. |
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.updateRefund("TPxL75VtRRuoNexUaNQ8da", RefundStatus.Created);