Get a plan
Retrieves a single plan by slug, including its public feature pricing and entitlement configuration.
Authorization
bearerAuth Path Parameters
slug*string
Response Body
application/json
application/json
application/json
curl -X GET "https://api.owostack.com/v1/plans/string"{
"success": true,
"plan": {
"id": "string",
"slug": "string",
"name": "string",
"description": "string",
"price": 0,
"currency": "string",
"interval": "string",
"type": "string",
"billingType": "string",
"isAddon": true,
"planGroup": "string",
"trialDays": 0,
"trialCardRequired": true,
"provider": "string",
"features": [
{
"slug": "string",
"name": "string",
"type": "string",
"meterType": "string",
"enabled": true,
"limit": 0,
"trialLimit": 0,
"resetInterval": "string",
"unit": "string",
"usageModel": "included",
"pricePerUnit": 0,
"billingUnits": 0,
"ratingModel": "package",
"tiers": [
{
"upTo": 0,
"unitPrice": 0,
"flatFee": 0
}
],
"overage": "string",
"overagePrice": 0,
"property1": null,
"property2": null
}
],
"property1": null,
"property2": null
}
}{
"success": true,
"error": "string",
"code": "string",
"message": "string",
"property1": null,
"property2": null
}{
"success": true,
"error": "string",
"code": "string",
"message": "string",
"property1": null,
"property2": null
}