This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-10-23 00:19 UTC.
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
Payload for updating a plan's descriptive fields. The price is changed through its own
operation; see `ChangeContractPlanPriceDto`.
Values
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Fields
Field
Type
Description
merchantIdrequired
string (uuid)
The merchant that owns the plan.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
namerequired
string
The plan's operator-facing name. Must be unique within the owning merchant.nullablemax length 128
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
coderequired
string
The merchant's own short code for the plan. Optional, and not resolved by the platform.nullablemax length 64
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
descriptionrequired
string
What the plan covers, in the operator's own words.nullablemax length 1024
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
currencyCoderequired
string
The ISO 4217 alphabetic currency code the plan's amounts are denominated in.nullablemin length 3max length 3pattern ^[A-Za-z]{3}$
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
isActiverequired
boolean
Whether the plan may be subscribed to. Turning it off hides it from the plan picker and
blocks new subscriptions; it does not stop billing the contracts already on it.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
The first day of week, used in calculating weekday-based recurrencesnullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
nextScheduledRunrequired
string (date-time)
The next computed billing date, updated after each billing run. Null for contracts that
have never been scheduled or have ended.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
startDaterequired
string (date-time)
The earliest date on which this contract is eligible to bill. Set by the user
when creating the contract (defaults to the creation date) and may be set to a
future date to delay first billing. The recurrence engine anchors expansion to
this date and the daily billing job will not fire a contract whose
`startDate` is in the future.
Null on contracts created before this field existed. When it is null, the server
anchors the schedule on the contract's creation time, or on the current time when
that is also absent; callers that compute a schedule themselves should apply the
same fallback.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This body has no documented fields.
trialDaysrequired
integer (int32)
The trial length a new contract on this plan inherits, in days. Optional; empty or zero
means no trial. A default for contract creation only: each contract owns its own trial end
date once created, and changing this never moves an existing subscriber.nullablemin 0max 365
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
concurrencyStamprequired
string
The concurrency stamp used for optimistic concurrency control.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This model has no documented fields.
Reconnecting to the server
Could not reconnect
This session has ended
Attempt 1
Your work on this page is still here. Retrying keeps it; reloading starts the page again.
The server no longer holds this page's state, so it has to be loaded again.