Force fail invoice

Force fail a pending or dunning invoice. If the invoice is dunning the dunning process will be cancelled. The state of potential subscription for the invoce is not affected. An invoice cannot be forced failed if it has processing transactions awaiting payment provider.

Errors

The operation can generate the following errors beside the generic HTTP error codes described here.

Error code HTTP codeDescription
31404Invoice not found
82400Invoice wrong state - must be pending or dunning
30400Invoice has active transactions. All transactions must be failed, cancelled or pending
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!