Upload relevant identification documents

Brief Description: Upload photo

Request Method: POST /open/api/kyc/share/fileUpload

Notes:

  • Supported formats for ID 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 ID or the verification will fail

Header:

ParameterMandatoryTypeRemarks
appIdYstringApp unique identifier
timestampYstringCurrent UTC 13-digit timestamp, valid within 5 minutes
signYstringSignature, you can refer to the signature Click Here

Parameters

ParameterRequiredTypeLengthDescription
fileYesstreamFile stream (max 5M)
requestNoYesstring64Request number
typeYesenum64ID Front: idFront ID Back: idBack Face: face AML Report: amlReport IDV Report: idvReport

Request Example

{
    file: 
    requestNo: 123
    type: idFront
}

Response Parameters

ParameterTypeDescription
successbooleanSuccess flag
errorbooleanError flag
msgstringResponse message
codeintegerResponse code
modelObjectResponse data
traceIdstringTrace ID

Response Example

{
    code: 0
    msg: Operation successful
    model: null
    traceId: 652366764a52596446c629939e486913
    success: true
    error: false
}

Note

For more error codes please refer to the error code description on the homepage