Check User Subscription
This endpoint checks if a customer has access to a specific entitlement.
Header Parameters
X-API-Keystring
Authorizationstring
Path Parameters
entitlementstring Required
The entitlement ID
Response
200
Object
Subscription details
Response Attributes
idstring
The user ID
entitlementstring
The ID of the Stripe Product Feature that the user is entitled to
productIdstring
The product ID
subscriptionIdstring
The Stripe subscription ID
statusstring
The subscription status
expirystring
The subscription expiry date (if applicable)
lastModifiedstring
The date the subscription was last modified
401
Object
Unauthorized - Missing or invalid JWT token
Response Attributes
messagestring
Error message
codestring
Error code
detailsobject
Additional error details
500
Object
Server error - check errors field for specific error type
Response Attributes
errorsstring Required
Error code identifying the type of error
Enum values:
bad_requestunauthorizedforbiddennot_found500incorrect_datanot_memberalready_memberincorrect_stripe_signatureincorrect_stripe_event... 4 other enums
Was this section helpful?
What made this section unhelpful for you?
Response
Was this section helpful?