Cardholder Document Upload
Last updated
Last updated
holderId
string
true
none
Cardholder ID
The ID of the cardholder
photoType
Example Response
200 Response
errMsg
string
true
none
Status description
uploadStatus
integer
true
{
"holderId": "1234567890",
"photoData": "https://pic.rmb.bdstatic.com/bjh/down/55ae8d25de40edd2eef89fb7f64ed644.png",
"photoType": "3",
"randomStr": "abcdef12345ssss67890ssss"
}
{
"errMsg": "string",
"uploadStatus": 0
}
integer
true
none
Type
1 - ID card front, 2 - ID card back, 3 - Passport, 5 - Proof of address, 8 - Facial photo
photoData
string
true
Y
Photo Data
Photo data (base64-encoded string, maximum 1MB)
randomStr
string
true
none
Randomstr
A random string of 32 characters
none
1 - Upload successful, 2 - Upload failed