GET/spaces/api/v1/subscription.json
Get the users subscription
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
200 OK
Subscription
{
"subscription": {
"billingAddress": {
"city": "string",
"country": "string",
"state": "string",
"streetAddress1": "string",
"streetAddress2": "string",
"vatNumber": "string",
"zip": "string"
},
"billingInfo": {
"billingAmount": {},
"billingCurrency": "string",
"billingPeriod": "string",
"contactEmail": "string",
"contactPhone": "string",
"contactPhoneCountryPrefix": "string",
"nextBillingDate": "2024-12-19T16:02:34.120Z"
},
"cancelledAt": "2024-12-19T16:02:34.120Z",
"cancelledBy": {
"id": 0,
"meta": {},
"type": "string"
},
"currentUsers": 0,
"inGracePeriod": true,
"isPaid": true,
"paidUntil": "2024-12-19T16:02:34.120Z",
"paidUsers": 0,
"pricePlanId": 0,
"trialUntil": "2024-12-19T16:02:34.120Z"
}
}