Skip to main content
POST
Attach an add-on plan to a subscription
Attaches an existing plan to a subscription as an add-on. The subscription’s base plan is unchanged; the add-on is billed as an extra line — add-on plan price × quantity, taxed independently — starting from the next recurring invoice. Nothing is charged now and no mid-cycle proration is applied in v1. The add-on plan’s currency must match the subscription’s base-plan currency. List what is attached with List Subscription Add-ons and detach with Remove Subscription Add-on.

Path Parameters

Request Body

Example Request

Response

Returns 201 Created with the new add-on.

Fields

The first invoice carrying the add-on line is the next renewal. To bill an add-on for the remainder of the current period, change the plan instead — preview the proration with Preview Plan Change.

Errors

Errors use the standard envelope — see Errors.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Path Parameters

id
string<uuid>
required

Body

application/json
plan_id
string<uuid>
required

The plan to attach as an add-on.

quantity
integer
required
Required range: x >= 1

Response

Add-on attached.

data
object

An existing plan attached to a subscription with a quantity (Multi-product catalog v1). Billed as an extra line — add-on plan price × quantity, taxed independently — from the subscription's next recurring invoice.