Fetch customer's subscriptions

Use /customers/:customerId/subscriptions endpoint to fetch customer's subscriptions. This endpoint lists all active and stopped subscriptions, but it doesn't return expired ones.

You can find details about customer subscriptions here, like status, expiration date, price, payment method, or period.

NOTE: This API requires JWT to run. It should be put in the request header. See more in Authorization.

👍

Tips!

nextPaymentPrice includes applied coupons

🚧

Important

This API endpoint is not guaranteed to provide real-time results. Updating transaction status may be delayed due to required communication with a payment provider and other processes. Usually, such delay is minimal (<1 second). Because of such behavior, this API should not be used for validating entitlements - please use Get entitlements instead.

Errors

HTTP Status codeError codeMessage
400REQ0003Invalid path parameters
401AUTH0001Missing required JWT
401AUTH0002Invalid JWT token
500SXXXX (X - number)Internal Server Error
Language
Credentials
Header
Click Try It! to start a request and see the response here!