Documentation Index Fetch the complete documentation index at: https://docs.ugc.inc/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
GET https://api.ugc.inc/billing
Overview
Retrieve your billing information, including Stripe subscription status, slot counts by tier, and linked organizations. Requires a profile-scoped API key.
Request
No request body required. Authentication via profile-scoped Bearer token.
Response
Unique billing record identifier
Stripe subscription details (null if no subscription) Show Subscription properties
Stripe subscription status (e.g., active, canceled, past_due)
Whether the subscription will cancel at the end of the current period
ISO 8601 timestamp of the current billing period start
ISO 8601 timestamp of the current billing period end
Account slot counts by tier Number of basic tier slots
Number of premium tier slots
curl https://api.ugc.inc/billing \
-H "Authorization: Bearer YOUR_API_KEY"
{
"ok" : true ,
"code" : 200 ,
"message" : "Success" ,
"data" : {
"billing_id" : "bill_123" ,
"subscription" : {
"status" : "active" ,
"cancel_at_period_end" : false ,
"current_period_start" : "2025-01-01T00:00:00.000Z" ,
"current_period_end" : "2025-02-01T00:00:00.000Z" ,
"slots" : {
"basic" : 5 ,
"premium" : 2
}
},
"orgs" : [
{
"id" : "org_123" ,
"name" : "My Organization"
}
]
}
}