Detach from subscription

A subscription invoice with state pending, dunning or failed can be detached from the subscription and changed to a customer one-time invoice with pending state.

Errors

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

Error code HTTP codeDescription
31404Invoice not found
112400Invoice is not a subscription invoice
82400Invoice wrong state, it must be pending, dunning or failed
30400Invoice has active transactions, all must be failed, cancelled or pending
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!