Autional Autional
API Reference GitHub autional.com →

POST /admin/wallets/fraud-rules

Batch update anti-fraud rules

Wallet Service `bearerAuth` application/json

Request Body

Schema: dto.UpdateFraudRulesRequest

FieldTypeRequiredExampleConstraintsDescription
rules array of

See dto.FraudRuleItem

Yes Rule list

Responses

StatusDescriptionSchema
200OKgitee_com_linmes_authms_micro-services_wallet-service_internal_handler_dto.SimpleResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticated or invalid tokengitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissionsgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.FraudRuleItem

Single fraud rule configuration

FieldTypeRequiredExampleConstraintsDescription
enabled boolean No Enabled
name string No Single transaction limit Name
rule_id string No rule-001 Rule ID
threshold string No 10000 Threshold

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

gitee_com_linmes_authms_micro-services_wallet-service_internal_handler_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No