POST /internal/billing/apps/{tenant_id}/{app_id}/billing-event
Internal service call: Handle application-level billing events (suspend/resume/delete), called by tenant-service on application lifecycle changes
Billing Service - Internal None application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
tenant_id |
path |
string |
Yes |
|
|
|
Tenant ID |
app_id |
path |
string |
Yes |
|
|
|
Application ID |
Request Body
Schema: dto.AppBillingEventRequest
| Field | Type | Required | Example | Constraints | Description |
action |
string |
Yes |
suspend |
|
suspend/resume/delete |
Responses
| Status | Description | Schema |
| 200 | Billing event processed successfully | object |
| 400 | Invalid request parameters | object |
| 401 | Unauthorized | object |
| 500 | Internal server error | object |