Get All Refunds on Invoice

Facades: merchant

Overview

Gets all refunds for a specific invoice.

Parameters

ParameterDescription
invoiceIdThe BitPay invoice object having the associated refunds.

Example

const refund = await client.getRefunds('someInvoiceId');