Retrieve latest subscription
GET/products/{product_id}/licenses/{license_id}/subscription.json
A license can have only one active subscription at any given time. However, users may upgrade, downgrade, or change their payment method, which may result in a new subscription being created and associated with the same license.
Use this endpoint to retrieve the latest or currently active subscription linked to a specific license.
This is useful when you're building tools for license management or need to inspect the billing state of a customer. If you're integrating Freemius with your SaaS please refer to our guide here.
Request
Responses
- 200
- 401
- 402
- 404
Subscription retrieved.
Unauthorized access error. The request requires authentication but was not provided or the provided authentication does not satisfy the required permissions.
The request is missing the specified argument.
The requested resource was not found.