Update Refund Request

Facades: merchant

Overview

Updates the status of a refund request from preview to created.

Parameters

ParameterDescription
refund_id *BitPay refund ID
status *The new status for the refund to be updated

Example

📘

Note

In this example, we assume that a Client has already been initialized and assigned to the bitpay variable.

bitpay.update_refund('refundId', 'created')