Skip to navigation

Keep the Complimentary Plan on Paid Billing

View as Markdown

Choose to continue an administrator’s complimentary plan on paid billing when its term ends, on that plan or the same tier’s other cadence, or change that choice. Send complimentaryContinuationOfferRevision from the subscription’s next-charge read; a revision the offer no longer carries, including one read before an Undo, answers 409. Nothing is charged now: shortly before the term the subscription moves to the plan, which first bills its full price when the term ends. Requires a card on file that stays valid through the term (409 with the billing portal otherwise). An account the App Store bills answers 409. 503 with Retry-After while that conversion is in progress.

Authentication

AuthorizationBearer

Your aVenture API key (https://aventure.vc/settings/api-keys) or OAuth access token

Request

This endpoint expects an object.
complimentaryContinuationOfferRevisionstringRequiredformat: "^[0-9a-f]{64}$"

complimentaryContinuationOfferRevision from GET /v1/billing/subscription/next-charge; a revision the offer no longer carries answers 409.

planstringRequired

Plan to bill from the end of the term: the complimentary plan itself or the same tier on its other cadence. Nothing is charged now.

Response headers

X-RateLimit-LimitintegerOptional

Requests allowed per client IP in the current rate-limit window.

X-RateLimit-RemainingintegerOptional

Requests left before the tightest applicable rate-limit bucket rejects.

X-RateLimit-ResetintegerOptional

Seconds until the exhausted rate-limit bucket admits another request; 0 when none is exhausted.

Response

OK
continuesAtdatetime
When the complimentary term ends and plan starts billing
planstring
Plan that bills once the complimentary term ends
revisionstring

Send as If-Match on DELETE /v1/billing/subscription/complimentary-continuation, so an Undo withdraws only this choice and never a later one

undoableboolean

Whether DELETE /v1/billing/subscription/complimentary-continuation can still undo the choice: false while the subscription is being moved to the paid plan and after it moved, when the plan ends like any paid plan

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
406
Not Acceptable Error
409
Conflict Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error