Delete pending subscription

A subscription in state pending can be deleted with the two exceptions below:

  1. If the subscription has invoices that are not only in state created. E.g. a failed invoice.
  2. If the subscription has a created invoice with transactions. If the created invoice has transactions an actual payment has been attempted in connection with signup. This means that a transaction has been attempted with payment method. Deleting the subscription would require to delete invoice and transaction removing the trace of the payment attempt, disallowing to subsequently find the transcation registered with acquirer and issuer in Billwerk+Optimize.

Errors

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

Error code HTTP codeDescription
12404Subscription not found
119400Subscription not in state pending
125400Subscription has pending payment method
82400Invoice not in state created
30400Invoice has active transactions
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!