Error
A valid request URL is required to generate request examples{
"subscription": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"planId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"currency": "<string>",
"isActive": true,
"entitlements": {},
"monthlyPrice": 123,
"sortOrder": 123
},
"status": "active",
"provider": "<string>",
"paymentMethodType": "<string>",
"autoRenew": true,
"billingInterval": "monthly",
"currentPeriodStart": "2023-11-07T05:31:56Z",
"currentPeriodEnd": "2023-11-07T05:31:56Z",
"cancelAtPeriodEnd": true,
"externalCustomerId": "<string>",
"externalSubscriptionId": "<string>"
},
"invoices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 123,
"currency": "<string>",
"status": "draft",
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"subscriptionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"providerInvoiceId": "<string>",
"invoiceUrl": "<string>"
}
]
}API Reference
Retrieve the active organisation subscription, plan entitlements, and recent invoices.
GET
/
billing
/
subscription
Error
A valid request URL is required to generate request examples{
"subscription": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"planId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"currency": "<string>",
"isActive": true,
"entitlements": {},
"monthlyPrice": 123,
"sortOrder": 123
},
"status": "active",
"provider": "<string>",
"paymentMethodType": "<string>",
"autoRenew": true,
"billingInterval": "monthly",
"currentPeriodStart": "2023-11-07T05:31:56Z",
"currentPeriodEnd": "2023-11-07T05:31:56Z",
"cancelAtPeriodEnd": true,
"externalCustomerId": "<string>",
"externalSubscriptionId": "<string>"
},
"invoices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 123,
"currency": "<string>",
"status": "draft",
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"subscriptionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"providerInvoiceId": "<string>",
"invoiceUrl": "<string>"
}
]
}