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

Examples

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-07-26T20:26:10.533Z"
    },
    "cancelledAt": "2024-07-26T20:26:10.533Z",
    "cancelledBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "currentUsers": 0,
    "inGracePeriod": true,
    "isPaid": true,
    "paidUntil": "2024-07-26T20:26:10.533Z",
    "paidUsers": 0,
    "pricePlanId": 0,
    "trialUntil": "2024-07-26T20:26:10.533Z"
  }
}