Validates a trial code and returns the associated activation context. Use this to power a trial upgrade flow — verify the code first, then pass the activation_id and selected product to create_renewal.
Request Parameters
Field
Type
Required
Description
trial_code
string
Requiredone of these two
Trial code issued to the customer
activation_token
string
Requiredone of these two
The long token from the trial's own links — what Panelr's trial-upgrade redirect hands your store as ?t=…
Response Fields
Field
Type
Description
trial_request_id
integer
Trial request ID
activation_id
integer
Activation ID linked to this trial
customer_email
string
Customer email address
customer_name
string
Customer full name
expiration_date
string|null
Trial expiration datetime UTC
connections
integer
Number of connections on the current trial line
eligible_products
array
Active non-trial products available for upgrade — see Product Object below. Only plans from the same service as the line — a renewal cannot cross services