Retrieve an Invoice

Facades: pos, merchant

Overview

Get a specific invoice by ID.

Parameters

ParameterDescription
invoice_id *The id of the invoice to retrieve
facadeThe facade used to create it (default: merchant)
sign_requestSigned request (default: true)

Example

📘

Note

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

invoice_by_id = bitpay.get_invoice('someInvoiceId')
invoice_by_id = bitpay.get_invoice('someInvoiceId', Facade.POS, False)