Autional Autional
API Reference GitHub autional.com →

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

NameInTypeRequiredDefaultExampleConstraintsDescription
tenant_id path string Yes Tenant ID
app_id path string Yes Application ID

Request Body

Schema: dto.AppBillingEventRequest

FieldTypeRequiredExampleConstraintsDescription
action string Yes suspend suspend/resume/delete

Responses

StatusDescriptionSchema
200Billing event processed successfullyobject
400Invalid request parametersobject
401Unauthorizedobject
500Internal server errorobject