a563c1ca4b
docs/api目录文档分类和补全 --------- Co-authored-by: guke <guke@autohome.com.cn> Reviewed-on: #111
873 B
873 B
GET /api/v1/wallet/withdraw-info — 提现额度 / 绑定状态
所属:Wallet 组(前缀
/api/v1/wallet) | 鉴权:Bearer | ← 返回 API 索引集成实现:见 integrations/wxpay(提现链路)。
入参
无(用户由 token 确定)。
出参
响应 200:WithdrawInfoOut
| 字段 | 类型 | 说明 |
|---|---|---|
min_cents |
int | 单次最低提现(分) |
max_cents |
int | 单次最高提现(分) |
wechat_bound |
bool | 是否已绑定微信 |
wechat_nickname |
string | null | 微信昵称(可能脱敏/空) |
wechat_avatar_url |
string | null | 微信头像 URL(可能空) |
说明
提现页进入时拉一次:决定展示额度区间、是否需先去绑定微信。额度来自 rewards.py(WITHDRAW_MIN_CENTS / WITHDRAW_MAX_CENTS)。