跳到主要内容

上传投资者代表文件

此端点允许上传与之前注册的投资者代表关联的文件。


Request

ENDPOINT
/investor_management/investor/INVESTOR-KEY/investor_representative/INVESTOR-REPRESENTATIVE-KEY/document
MÉTODO
POST

Path Params

字段类型描述字符数
INVESTOR-KEYstring投资者的唯一键(UUID v4)。36
INVESTOR-REPRESENTATIVE-KEYstring投资者代表的唯一键(UUID v4)。36

Request Body

Request Body
{
"document_base64": "dGVzdGVfZG9jdW1lbnRfYmFzZTY0",
"document_type": "cnh"
}

Request Body Params

字段类型描述最大字符数
document_base64 *stringBase64 编码的文件内容。-
document_type *string上传的文件类型。可接受的值:document_type 枚举值

document_type 枚举值

枚举值描述
cnh驾驶执照
cnh_front驾驶执照正面
cnh_back驾驶执照背面
cnh_digital电子版驾驶执照 PDF
rg_front身份证正面
rg_back身份证背面
danfeDANFE
proof_of_address居住证明
letter_of_attorney授权委托书

Response

STATUS
201
Response Body
{
"document_key": "123e4567-e89b-12d3-a456-426614174000",
"document_type": "cnh",
"ocr_key": "123e4567-e89b-12d3-a456-426614174000"
}

Response Body Params

字段类型描述最大字符数
document_keystring上传文件的唯一标识符(UUID v4)。36
document_typestring上传的文件类型。document_type 枚举值
ocr_keystring与上传文件关联的 OCR 键。36