Autional Autional
API Reference GitHub autional.com →

GET /billing/records/{tenant_id}/apps/{app_id}

Paginate billing records by application dimension for a specified tenant, suitable for multi-application tenants' independent billing queries

Billing Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
tenant_id path string Yes Tenant ID
app_id path string Yes Application ID
page query integer No 1 Page number
page_size query integer No 20 Items per page

Responses

StatusDescriptionSchema
200Billing record query successfuldto.BillingRecordListResponse
400Invalid request parametersobject
401Unauthorizedobject
500Internal server errorobject

Referenced Schemas

dto.BillingRecordListResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
items array of

See dto.BillingRecordResponse

No Use items uniformly
message string No
pagination object No Pagination information (nested object)
timestamp string No
total integer No Total count (flattened for direct reading)

dto.BillingRecordResponse

FieldTypeRequiredExampleConstraintsDescription
amount number No 99
app_id string No app_001
created_at string No 2026-04-01T00:00:00Z
currency string No CNY
description string No Professional Monthly Subscription
invoice_number string No INV-2026-001
line_items array of

See dto.InvoiceLineItemResponse

No
record_id string No rec_001
status string No paid
tenant_id string No tnt_xyz789
type string No subscription

dto.InvoiceLineItemResponse

FieldTypeRequiredExampleConstraintsDescription
amount number No 99
description string No Professional Monthly Subscription
quantity integer No 1
resource_type string No subscription
tax_amount number No 5.94
tax_rate number No 0.06
unit_price number No 99

gitee_com_linmes_authms_base_dto.PageInfo

FieldTypeRequiredExampleConstraintsDescription
has_next boolean No HasNext indicates whether there is a next page
has_prev boolean No HasPrev indicates whether there is a previous page
page integer No Page is the current page number (1-based)
page_size integer No PageSize is the number of items per page
total integer No Total is the total number of items across all pages
total_pages integer No TotalPages is the total number of pages