Retrieve an Invoice

Facades: pos, merchant

Overview

Get a specific invoice by ID.

Parameters

ParameterDescription
invoiceIdThe ID of the invoice to retrieve.

Example

Invoice invoice = bitpay.getInvoice("QrPWSMkq594kQfJex28S7X");
Invoice invoice = bitpay.getInvoice("QrPWSMkq594kQfJex28S7X", Facade.POS, false);