PUT /admin/wallets/tenants/{tenant_id}/apps/{app_id}/policy
创建或更新指定应用的钱包策略配置
钱包服务 `bearerAuth` application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
tenant_id |
path |
string |
是 |
|
|
|
租户ID |
app_id |
path |
string |
是 |
|
|
|
应用ID |
请求体
Schema: domain.WalletPolicy
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
application_id |
string |
否 |
|
|
|
auto_approve_limit |
number |
否 |
|
|
|
created_at |
string |
否 |
|
|
|
daily_withdraw_limit |
number |
否 |
|
|
|
default_list_page_size |
integer |
否 |
|
|
|
export_page_size |
integer |
否 |
|
|
|
id |
string |
否 |
|
|
|
idempotency_ttl |
integer |
否 |
|
|
|
internal_client_timeout |
integer |
否 |
|
|
|
max_balance |
number |
否 |
|
|
0 = 无限制 |
min_withdraw_amount |
number |
否 |
|
|
|
monthly_withdraw_limit |
number |
否 |
|
|
|
quote_cache_ttl |
integer |
否 |
|
|
|
rate_limit_per_hour |
integer |
否 |
|
|
|
rate_limit_per_min |
integer |
否 |
|
|
|
supported_currencies |
string |
否 |
|
|
comma-separated |
tenant_id |
string |
否 |
|
|
|
timezone |
string |
否 |
|
|
租户时区,用于日限额计算 |
transfer_enabled |
boolean |
否 |
|
|
|
updated_at |
string |
否 |
|
|
|
withdrawal_require_review |
boolean |
否 |
|
|
|
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-wallet/internal/handler/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|