Overview
The Subscription Reads endpoints let you inspect everything about a subscription without changing it. Use them to:- Display subscription status and next charge date to customers in your dashboard
- Pull charge history for receipts, reconciliation, or support queries
- Preview upcoming billing dates to send payment reminders
- Audit every action ever taken on a subscription via the event log
All read endpoints use the subscription
id (integer) — not the planCode or enrollmentReference. Make sure you have saved data.subscription.id from when the subscription was created.Key Requirements
Retrieve your API keys from your dashboard by following the steps on our Authentication page. Use your public API key for all read requests.
Get Subscription
Retrieves the full details of a single subscription by itsid. Use this to check status, next charge date, trial end date, or any other field on the subscription record.
Sample response
API reference: Get Subscription
List Subscriptions
Retrieve a paginated list of all subscriptions belonging to your account. Filter bystatus to find active, paused, cancelled, or past-due subscriptions.
Sample response
Each item in
content contains both a subscription object and a plan object — giving you the customer’s billing state and the plan details in a single response without a second API call.Upcoming Charges
Returns a list of the next scheduled charge dates and amounts for a subscription. Use this to show customers what they will be billed and when, or to send payment reminders ahead of the next cycle.
Sample response
Subscription Charge History
Returns a paginated list of all past billing attempts for a subscription — both successful and failed. Use this for payment receipts, support queries, or reconciliation.
Sample response
API reference: Subscription Charge History
Subscription Event History
Returns a paginated audit trail of every significant action that has occurred on a subscription. This includes creation, successful charges, payment failures, pauses, resumes, cancellations, plan changes, and status transitions. Use this for support queries (“what happened to this subscription?”), compliance auditing, or debugging unexpected state changes.
Sample response
API reference: Subscription Event History
Developer notes
- The
idused in all read endpoints is the integeridfrom the Create Subscription response — not theenrollmentReference(which starts withSUBREF_) or theplanCode. - Use Get Subscription for real-time status checks (e.g. before granting access to a feature). Use List Subscriptions for bulk operations or building admin dashboards.
- Use Upcoming Charges to power payment reminder emails — fetch the next 1–3 dates and send a notification a few days before each one.
- Use Charge History for generating customer receipts and reconciling your accounts. Each entry has a
transactionReferenceyou can use to trace the charge in your payment records. - Use Event History for support and debugging. It is the most complete picture of what happened to a subscription and when.
- Results from all paginated endpoints start at
page: 0, notpage: 1. Passingpage=1returns the second page, not the first.