Get subscription

Retrieve a single subscription by ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Retrieve a single subscription by ID. Supports expanding relationships.

Example: You want to view a subscription with its plan details and billing address. Call this endpoint with expand=plan,address to include the related data.

FeatureFields
Expandableaddress, plan, coupon, defaultSource, latestInvoice, latestChurnPrediction
Path Params
int32
required

The unique identifier of the subscription.

Query Params
int32
required

The unique identifier your site.

string

An optional comma separated list of supported relationships to expand. This endpoint supports expanding address, plan, coupon, defaultSource, latestInvoice and latestChurnPrediction relationships.

Headers
string
required
Defaults to Bearer eyJ***
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json