Billing
Get current plan details.
Changed onReturns the active subscription plan for your account, including billing cycle dates, trial status, plan options, and active addons. Returns null data when no active subscription exists.
get/api/v1/billing/plan
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Returns the active subscription plan details, or null when no active subscription exists.
Example response
{
"status": "success",
"data": {
"name": "Standard",
"short_description": "Best for small teams",
"interval": "monthly",
"status": "active",
"current_period_start": 1735689600,
"current_period_end": 1738368000,
"addons": [
{
"key": "extra_queries",
"purchased_quantity": 1,
"total_quantity": 500,
"is_active": true,
"interval": "monthly"
}
]
}
}Changes
- info
endpoint added
- info