post https://test.bitpay.com/invoices//notifications
Facades: merchant
Note
Cancellation will require EITHER an SMS or E-mail to have already been set if the invoice has proceeded to the point where it may have been paid, unless using forceCancel parameter.
Response
Name | Type |
---|---|
data
set to
"Success" once the webhook has been resent for the current invoice status |
string
|
Error Scenarios
- Cancellation requires SMS/email. Next step: resubmit the request after updating the invoice with verified SMS or Email
- Invoice is already complete. Next step, use the POST /refunds endpoint for this invoice