Facades: pos, merchant
Overview
Get a specific invoice by ID.
Parameters
| Parameter | Description |
|---|---|
| invoice_id * | The id of the invoice to retrieve |
| facade | The facade used to create it (default: merchant) |
| sign_request | Signed request (default: true) |
Example
NoteIn this example, we assume that a Client has already been initialized and assigned to the
bitpayvariable.
invoice_by_id = bitpay.get_invoice('someInvoiceId')invoice_by_id = bitpay.get_invoice('someInvoiceId', Facade.POS, False)