PUT /admin/wallets/tenants/{tenant_id}/apps/{app_id}/policy
创建或更新指定应用的钱包策略配置
钱包服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
tenant_id |
path |
string |
Yes |
|
|
|
租户ID |
app_id |
path |
string |
Yes |
|
|
|
应用ID |
Request Body
Schema: domain.WalletPolicy
| Field | Type | Required | Example | Constraints | Description |
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 = 无限制 |
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 |
|
|
租户时区,用于日限额计算 |
transfer_enabled |
boolean |
No |
|
|
|
updated_at |
string |
No |
|
|
|
withdrawal_require_review |
boolean |
No |
|
|
|
Referenced Schemas
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
gitee_com_linmes_authms_micro-services_wallet-service_internal_handler_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|