/internal/billing/metering/reportInternal service call: Receive and record resource usage reported by microservices (metering and billing), for generating invoices and quota checks
Schema: dto.MeteringReportRequest
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
amount |
integer |
Yes | 1000 |
||
resource_type |
string |
Yes | api_calls |
||
app_id |
string |
No | app_001 |
| Status | Description | Schema |
|---|---|---|
| 200 | Usage report successful | object |
| 400 | Invalid request parameters | object |
| 401 | Unauthorized | object |
| 500 | Internal server error | object |