post
https://api.frisbii.com/v1/invoice//detach
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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 code | Description |
|---|---|---|
31 | 404 | Invoice not found |
112 | 400 | Invoice is not a subscription invoice |
82 | 400 | Invoice wrong state, it must be pending, dunning or failed |
30 | 400 | Invoice has active transactions, all must be failed, cancelled or pending |
