Update an invoice with SMS or email in order to respond to a payment exception.
- Updating the invoice will require EITHER an SMS or E-mail, but not both.
- smsCode required only when verifying SMS.
- autoVerify is only available in Sandbox environment.
|invoiceId||The id of the invoice to updated.|
|buyerSms||The buyer's cell number.|
|smsCode||The buyer's received verification code.|
|buyerEmail||The buyer's email address.|
|autoVerify||Skip the user verification in the |
$updateInvoice = $bitpay->cancelInvoice("QrPWSMkq594kQfJex28S7X", null, null "[email protected]", false");