上传投资者代表文件
此端点允许上传与之前注册的投资者代表关联的文件。
Request
ENDPOINT
/investor_management/investor/INVESTOR-KEY/investor_representative/INVESTOR-REPRESENTATIVE-KEY/documentMÉTODO
POSTPath Params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
INVESTOR-KEY | string | 投资者的唯一键(UUID v4)。 | 36 |
INVESTOR-REPRESENTATIVE-KEY | string | 投资者代表的唯一键(UUID v4)。 | 36 |
Request Body
Request Body
{
"document_base64": "dGVzdGVfZG9jdW1lbnRfYmFzZTY0",
"document_type": "cnh"
}
Request Body Params
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
document_base64 * | string | Base64 编码的文件内容。 | - |
document_type * | string | 上传的文件类型。可接受的值: | document_type 枚举值 |
document_type 枚举值
| 枚举值 | 描述 |
|---|---|
cnh | 驾驶执照 |
cnh_front | 驾驶执照正面 |
cnh_back | 驾驶执照背面 |
cnh_digital | 电子版驾驶执照 PDF |
rg_front | 身份证正面 |
rg_back | 身份证背面 |
danfe | DANFE |
proof_of_address | 居住证明 |
letter_of_attorney | 授权委托书 |
Response
STATUS
201Response Body
{
"document_key": "123e4567-e89b-12d3-a456-426614174000",
"document_type": "cnh",
"ocr_key": "123e4567-e89b-12d3-a456-426614174000"
}
Response Body Params
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
document_key | string | 上传文件的唯一标识符(UUID v4)。 | 36 |
document_type | string | 上传的文件类型。 | document_type 枚举值 |
ocr_key | string | 与上传文件关联的 OCR 键。 | 36 |