Upload photo
Uplaoad user photo
Http method and path
GET
/open/api/kyc/share/fileUpload
Http body
Element | Mandatory | Data Type | Remarks |
---|---|---|---|
file | Y | stream | 文件流(最大5M) |
requestNo | Y | string | 请求号 |
type | Y | enum | 证件正面:idFront,证件反面:idBack,人脸:face, aml报告:amlReport, idv报告:idvReport |
notices
Supported formats for document photos and face photos: jpg, jpeg, png
Supported format for AML/IDV reports: pdf
All types must be uploaded except for the back side of the document, or the verification will fail.
Request Example
Response Parameter
Data Type | Data Type | Remarks |
---|---|---|
success | boolean | Success flag |
error | boolean | Fail flag |
msg | string | return message |
code | integer | return code |
model | Object | return data |
traceId | string | traceId |
Response Example
Remarks
For more error codes, please refer to the error code descriptions on the homepage.
Last updated