Get a subscription by ID.
You can obtain this key from the Atlas dashboard. It must be of type secret
The Atlas subscription ID
1"atlas-internal-subscription-id-123"
The subscription that has been retrieved.
The date and time the subscription was created
"2021-01-01T00:00:00.000Z"
The Atlas subscription ID
1"atlas-internal-subscription-id-123"
The start date of the subscription
"2021-01-01T00:00:00.000Z"
The status of the subscription
draft, pendingActivation, active, ended, deleted "active"
The date and time the subscription was last updated
"2021-01-01T00:00:00.000Z"
Whether the customer can change the subscription, for example by cancelling it or creating another.
true
Whether to automatically charge invoices for this subscription to the associated payment gateway. Requires a valid Stripe connection. Only compatible with a Stripe payment gateway.
false
Whether to automatically sync invoices for this subscription to the associated payment gateway.
true
Whether to automatically send invoices for this subscription from the associated payment gateway to the customers email address.
true
The selected payment gateway for this subscription
Stripe, QuickBooks "Stripe"
Whether this subscription is a trial subscription
false
The Atlas customer ID
1"atlas-internal-customer-id-123"
The Atlas plan ID
1"atlas-internal-plan-id-123"
The Atlas merchant ID
1"atlas-internal-merchant-id-123"
The billing cadence for this subscription
oneTime, monthly, quarterly, annually "monthly"
The currency for this subscription
USD "USD"
The end date of the subscription
"2021-12-31T00:00:00.000Z"
The net terms for this subscription; applies only if autoChargeInvoice is false. Determines the number of days after the invoice is issued before the payment is due.
uponReceipt, net30, net60, net90 "net30"
Whether to charge for usage-based prices during the trial period. Only applies if isTrial is true.
false