Autional Autional
API Reference GitHub autional.com →

POST /admin/billing/refund-approval/{plan_id}/approve

Approve a refund request, changing status from pending to approved. Only approved refunds can be executed.

Billing Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Refund approval ID

Responses

StatusDescriptionSchema
200Approval successfuldto.SimpleResponse
400Invalid request parametersdto.SimpleResponse
401Unauthorizeddto.SimpleResponse
403No permissiondto.SimpleResponse
409Status conflict (non-pending status cannot be approved)dto.SimpleResponse
500Internal server errordto.SimpleResponse

Referenced Schemas

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No