Gatana Documentation
RoutesTenantsTenantidSubscription

/tenants/{tenantId}/subscription

Get tenant subscription details

GET
/tenants/{tenantId}/subscription
AuthorizationBearer <token>

In: header

Path Parameters

tenantId*string

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/tenants/string/subscription"
{
  "subscriptionPlan": "string",
  "subscriptionSeats": 0,
  "subscription": {
    "hasPaymentMethod": true,
    "trialEndsAt": "string",
    "status": "string",
    "currentPeriodEnd": "string",
    "paymentType": "string",
    "cancelsAt": "string",
    "perSeatAmount": 0,
    "currency": "string",
    "card": {
      "valid": true,
      "brand": "string",
      "last4": "string",
      "expiresYear": 0,
      "expiresMonth": 0
    }
  }
}