Autional Autional
API Reference GitHub autional.com →

PUT /admin/wallets/tenants/{tenant_id}/apps/{app_id}/policy

Create or update wallet policy configuration for a specified application

Wallet Service `bearerAuth` application/json

Request Parameters

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

Request Body

Schema: domain.WalletPolicy

FieldTypeRequiredExampleConstraintsDescription
application_id string No
auto_approve_limit number No
created_at string No
daily_withdraw_limit number No
default_list_page_size integer No
export_page_size integer No
id string No
idempotency_ttl integer No
internal_client_timeout integer No
max_balance number No 0 = Unlimited
min_withdraw_amount number No
monthly_withdraw_limit number No
quote_cache_ttl integer No
rate_limit_per_hour integer No
rate_limit_per_min integer No
supported_currencies string No comma-separated
tenant_id string No
timezone string No Tenant timezone for daily limit calculation
transfer_enabled boolean No
updated_at string No
withdrawal_require_review boolean No

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

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