Autional Autional
API Reference GitHub autional.com →

POST /admin/wallets/batch-freeze

Batch freeze funds of multiple user wallets

Wallet Service `bearerAuth` application/json

Request Body

Schema: dto.BatchFreezeRequest

FieldTypeRequiredExampleConstraintsDescription
amount string Yes
user_ids array of

string

Yes
reason string No

Responses

StatusDescriptionSchema
200OKdto.BatchFreezeResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticated or invalid tokengitee_com_linmes_authms_base_dto.SimpleResponse
409Insufficient balancegitee_com_linmes_authms_base_dto.SimpleResponse
422Invalid amountgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.BatchFreezeResponse

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

dto.BatchFreezeResult

FieldTypeRequiredExampleConstraintsDescription
frozen_count integer No 5

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No