更新银行账户
Request
ENDPOINT
/investor_registry/investor/{investor_key}/bank_account/{bank_account_key}/updateMÉTODO
PUTSTATUS
204Request body
Request Body
{
"status": "str",
"main_account": true,
}
注意
更新银行账户有三种方式:
- 将 status 更新为 inactive,停用该账户。
- 将 status 更新为 active,重新激活该账户。
- 使用 main_account 属性更新主账户设置,将该账户设为投资者的主账户。
如果同时发送两个参数,将返回错误。
Body params
| 字段 | 类型 | 描述 | 字符数 | 必填 |
|---|---|---|---|---|
status | string | 账户新状态 | 1 - 20 | 否 |
main_account | bool | 设置该账户是否为投资者的主账户 | - | 否 |