GET
/
v2
/
subscriptions
/
{id}
/
phases
/
{phaseId}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
phaseId
string
required

Response

200 - application/json
activation_strategy
enum<string>
required

Activation strategy of subscription phase.

  • immediately: The phase starts as soon as the subscription is activated.
  • manual: The phase starts when a user manually activates it.
  • start_date: The phase starts on a specified date.
  • quote_signature: The phase starts when the subscription quote is signed.
  • checkout: The phase starts when the subscription checkout is completed.
  • contract_start_date: The phase starts on the start date of the related subscription contract.
  • previous_phase_end: The phase starts when the previous phase ends.
Available options:
immediately,
manual,
start_date,
quote_signature,
checkout,
contract_start_date,
previous_phase_end
billing_date_setting
enum<string>
required

Represents when the first billing date occurs.

  • phase_start: Aligns with the start of the phase.
  • specific_date: Occurs on a specified date.
Available options:
phase_start,
specific_date
coupons
object[]
required

Coupons comprising the subscription phase.

created_at
string
required

Subscription phase creation date. UTC date time string in the ISO 8601 format.

duration
object | null
required

Interval over which the subscription phase spans. Only applies to duration end strategy.

end_strategy
enum<string>
required

End strategy of subscription phase.

  • manual: The phase ends when a user manually stops it.
  • end_date: The phase ends on a specified date.
  • duration: The phase ends after a specific relative duration.
  • contract_end_date: The phase ends on the end date of the related subscription contract.
Available options:
manual,
end_date,
duration,
contract_end_date
ends_at
string | null
required

Actual end date of the phase. UTC date time string in the ISO 8601 format.

id
string
required

Subscription phase ID.

initial_billing_at
string | null
required

Date when the subscription phase will start being billed. Only applies to specific_date billing date setting. UTC date time string in the ISO 8601 format.

order
number
required

Order in which the phase is executed within all subscription phases.

products
object[]
required

Products comprising the subscription phase.

starts_at
string | null
required

Actual start date of the phase. UTC date time string in the ISO 8601 format.

status
enum<string>
required

Status of subscription phase.

  • pending: The phase is waiting to start (not started yet).
  • active: The phase is currently in progress.
  • finished: The phase has ended and is complete.
Available options:
pending,
active,
finished
transition_calculation_method
enum<string>
required

Calculation method used when transitioning from one phase to the next one.

  • prorata: The prorated amount between the two phases relative to the end date (the transition date) must be paid.
  • pay_in_full: The full amount for the phase billing period must be paid.
  • none: No amount will need to be paid, phase will simply transition from one to the next.
Available options:
prorata,
pay_in_full,
none
transition_invoicing_schedule
enum<string>
required

Represents when the transition amount will be invoiced.

  • immediately: An invoice will be generated immediately with the corresponding amount.
Available options:
immediately
type
enum<string>
required

Type of subscription phase.

  • setup: The phase represents a non-recurring service setup period, often used before the actual recurring subscription begins.
  • trial: The phase represents a non-recurring trial period, often used to allow users to opt out or experience a free test.
  • standard: The phase represents a standard recurring billing.
Available options:
setup,
trial,
standard
updated_at
string
required

Subscription phase last edition date. UTC date time string in the ISO 8601 format.