Fail invoice

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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
Path Params
string
required

Invoice id or handle

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json