Create plan instance
Creates a plan instance on a contract using the plan’s current active version settings.
Authorizations
API Key Authentication.
Body
Schema for creating a plan instance on a contract using the plan's current active version settings. A contract can have at most one active instance of a given plan.
The unique identifier of the plan to instantiate.
The unique identifier of the contract to attach the plan instance to.
Optional date the plan instance starts being billed. Must fall within the contract period; when omitted, the instance follows the contract's start.
Optional date the plan instance stops being billed. Must fall within the contract period; when omitted, the instance follows the contract's end.
Response
Schema representing a plan instance: a plan sold on a contract. The instance keeps its own versioned copy of the plan's charges, so its pricing can be overridden without affecting the plan or other contracts.
The unique identifier of the plan instance in our system.
The unique identifier of the contract the plan instance belongs to.
The unique identifier of the plan this instance was created from.
The unique identifier of the plan instance version currently used for billing.
The unique identifier of the plan version the active plan instance version derives from.
Why the active plan instance version exists: created_from_plan_version (instantiated from the plan's version), duplicated_from_contract (copied when the contract was duplicated), manual_override (pricing overridden manually or through the API), readjustment (a percentage rate adjustment was applied), or rollback (rolled back to a previous version).
created_from_plan_version, duplicated_from_contract, manual_override, readjustment, rollback Current status of the plan instance: active (billed on the contract's cycles), canceled (interrupted before its end; no longer billed), or completed (ran through its end).
active, canceled, completed Base properties of the plan this instance was created from.
The plan instance version currently used for billing, including its plan charges.