Update an invoice status to either
completed with a mock transaction to help speed up the testing.
PayInvoice is only available in the
|invoiceId||The id of the invoice to updated.|
|status||The status of the invoice to be updated, can be |
Invoice paidInvoice = bitpay.payInvoice("QrPWSMkq594kQfJex28S7X", true);