Facades: merchant
Overview
Updates the status of a refund request from preview to created.
Parameters
| Parameter | Description |
|---|---|
| refund_id * | BitPay refund ID |
| status * | The new status for the refund to be updated |
Example
NoteIn this example, we assume that a Client has already been initialized and assigned to the
bitpayvariable.
bitpay.update_refund('refundId', 'created')