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/requests
Overview
Retrieve all billing requests (replacements and refunds) for your account. Returns requests across all organizations linked to your billing record.
Request
No request body required. Authentication via profile-scoped Bearer token.
Response
Array of billing request objectsShow Billing request properties
Organization ID the request belongs to
Account ID the request is for
status
'pending' | 'approved' | 'denied'
Request status
Reason provided with the request
ISO 8601 timestamp of when the request was created
ISO 8601 timestamp of when the request was resolved (null if pending)
curl https://api.ugc.inc/billing/requests \
-H "Authorization: Bearer YOUR_API_KEY"
{
"ok": true,
"code": 200,
"message": "Success",
"data": [
{
"id": "req_123",
"org_id": "org_123",
"account_id": "acc_123",
"type": "replacement",
"status": "approved",
"reason": "Account was banned",
"created_at": "2025-01-15T10:00:00.000Z",
"resolved_at": "2025-01-15T10:00:00.000Z"
},
{
"id": "req_124",
"org_id": "org_123",
"account_id": "acc_456",
"type": "refund",
"status": "pending",
"reason": "Not satisfied",
"created_at": "2025-01-20T10:00:00.000Z",
"resolved_at": null
}
]
}