Autional Autional
API Reference GitHub autional.com →

POST /admin/billing/subscription/{tenant_id}/extend-trial

Extend the free trial period of the current subscription for a specified tenant (in days). After successful extension, a trial expiration reminder notification is sent.

Billing Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
tenant_id path string Yes Tenant ID

Request Body

Schema: dto.ExtendTrialRequest

FieldTypeRequiredExampleConstraintsDescription
extend_days integer Yes 14

Responses

StatusDescriptionSchema
200Trial period extended successfullydto.TrialActionDetailResponse
400Invalid request parametersobject
401Unauthorizedobject
403No permissionobject
500Internal server errorobject

Referenced Schemas

dto.TrialActionDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.TrialActionResult No
message string No
timestamp string No

dto.TrialActionResult

FieldTypeRequiredExampleConstraintsDescription
message string No Trial period extended by 14 days
plan string No pro
status string No active
tenant_id string No tnt_xyz789
trial_end_date string No 2026-06-01T00:00:00Z