Get Subscription Status
This endpoint returns the most recent status of a subscription managed by Zotlo.
Use the GET method to query a subscriber. Both subscriberId and packageId parameters are required to retrieve the correct subscription record.
The response includes the subscription’s state, status, lifecycle dates, and related metadata.
Request Parameters
subscriberId
Required
The email or phone number the user provided when starting the subscription.
packageId
Required
The ID of the package to query. A successful response is returned only if the user has a subscription for this package.
isSandbox
Required
Indicates whether the subscription was created in sandbox or live mode.Send:
true → sandbox
false → live
Sample Request
GET https://api.zotlo.com/v1/subscription/profile?subscriberId=SUB_ID&packageId=PACKAGE_ID HTTP/1.1
AccessKey: ••••••
AccessSecret: ••••••
Content-Type: application/json
ApplicationId: •
Language: enSuccessful Response
Active Subscription
Canceled Subscription
Key Response Fields
Subscription Fields
status
high-level subscription status delivered to your app. active, grace, passive.
realStatus
the system’s true internal status. Returns passive immediately after cancellation even if status remains active until expire_date.
subscriptionType
trial (still in trial) or paid (charged at least once).
startDate
Subscription start date.
expireDate
Current billing end date.
package
Active package ID.
country
Subscriber’s country.
language
Subscriber’s language.
cancellation
Cancellation details if the user or system canceled the subscription. nullif not canceled.
Cancellation Details
date
Cancellation timestamp.
reason
Reason text for cancellation.
code
Cancellation code (CP00001, CU00001, CU00002).
Failed Response
All failed responses follow the same standard error format. (See: Error Handling)
Last updated

