RoutesTenantsTenantidSubscription
/tenants/{tenantId}/subscription
Get tenant subscription details
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
}
}
}