Autional Autional
API Reference GitHub autional.com →

POST /internal/billing/metering/report

Internal service call: Receive and record resource usage reported by microservices (metering and billing), for generating invoices and quota checks

Billing Service - Internal None application/json

Request Body

Schema: dto.MeteringReportRequest

FieldTypeRequiredExampleConstraintsDescription
amount integer Yes 1000
resource_type string Yes api_calls
app_id string No app_001

Responses

StatusDescriptionSchema
200Usage report successfulobject
400Invalid request parametersobject
401Unauthorizedobject
500Internal server errorobject