🔗 Console REST APISubscription
Get subscription data
Retrieves current subscription information for the organization
curl -X GET "https://example.com/api/subscription"[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"idOrganization": "9bf7f388-1dbc-4a73-92b2-4ad35e7fe880",
"idProductBilling": "217406b9-61fd-4882-a027-e375a68cecdc",
"idStripeSubscription": "string",
"idStripeSubscriptionItem": "string",
"timeCreated": "2019-08-24T14:15:22Z",
"timeEnded": "2019-08-24T14:15:22Z",
"timeUpdated": "2019-08-24T14:15:22Z",
"timeCanceledAt": "2019-08-24T14:15:22Z",
"mrr": 0,
"mrrNew": 0,
"mrrChurn": 0,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"stripeId": "string",
"name": "string",
"company": "string",
"country": "string",
"address1": "string",
"address2": "string",
"city": "string",
"postalCode": "string",
"region": "string",
"purchaseOrder": "string",
"billingEmail": "string",
"autoRechargeEnabled": 0,
"autoRechargeBalanceGoesBelowUsd": 0,
"autoRechargeBalanceBackUpToUsd": 0,
"creditBalance": 0,
"creditUninvoicedCurrent": 0,
"creditUninvoicedLimit": 0,
"creditUsageYesterday": 0,
"creditUsageToday": 0,
"creditUsageTodayUpdatedAt": "2019-08-24T14:15:22Z",
"pastDueUsd": 0,
"pastDueSince": "2019-08-24T14:15:22Z",
"apiKeysActiveCount": 0,
"ticketsLiveWaitOnProvider": 0,
"ticketsLiveWaitOnCustomer": 0,
"ticketsNotLive": 0,
"totalPaidUsd": 0,
"totalPaidUsdLastW": 0,
"totalPaidUsdLastM": 0,
"totalPaidUsdLastQ": 0,
"totalPaidUsdLastY": 0,
"tier": "string",
"lifetimeValueTier": 0,
"lifetimeValueNextTierUsdCents": 0,
"firstPaymentDate": "2019-08-24T14:15:22Z",
"lastAuditTrailEvent": "2019-08-24T14:15:22Z",
"usageInvoicedUpToExcl": "2019-08-24T14:15:22Z",
"paymentMethodsLiveCount": 0,
"quotaThresholdLastNotification": "2019-08-24T14:15:22Z",
"quotaExceededLastNotification": "2019-08-24T14:15:22Z",
"allNotificationsEmail": "string",
"actionRequiredNotificationsEmail": "string",
"creditsLowBalanceLastNotification": "2019-08-24T14:15:22Z",
"timeCreated": "2019-08-24T14:15:22Z",
"teamMembersCount": 0,
"spendMgmtEnabled": 0,
"spendMgmtCreditUsageDailyHardLimit": 0,
"spendMgmtCreditUsageDailyNotifyThreshold": 0,
"spendMgmtCreditUsageWebhookUrl": "string",
"slackChannelRequestedTime": "2019-08-24T14:15:22Z",
"status": "string",
"statusChangedTime": "2019-08-24T14:15:22Z",
"statusSuspendedReason": "string",
"billingMode": "string"
},
"productBilling": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"idProduct": "string",
"idStripeProduct": "string",
"idStripeProductPlan": "string",
"name": "string",
"flatFeeAmount": 0,
"flatFeeCurrency": "string",
"flatFeeInterval": "string",
"flatFeeIntervalCount": 0,
"isVisible": true,
"displayOrder": 0,
"mrr": 0,
"product": {
"id": "string",
"name": "string",
"isApiProductType": true,
"displayOrder": 0,
"productLine": "string",
"lastSyncTime": "2019-08-24T14:15:22Z"
}
}
}
]