Upload KYC File
- POST /v3/b2b/kyc/upload
KYC file upload.
Request Sample
curl --location --request POST 'https://test2-business-cgi.pingpongx.com/v3/b2b/kyc/upload' \
--header 'Content-Type: multipart/form-data' \
--header 'timestamp: 1637564397860' \
--header 'sign: 4a70672b69b59d24d1ef05b716b1fc1d89e3e87e2b4921cb5847b6230e91c472' \
--header 'app_id: 80242303107221' \
--header 'Authorization: Bearer f22e79faa3f0412989d645c9e1e159498211e2b2bf934665bda968049511d05c' \
--form 'file=@"/Users/xxx/path/file_name.jpeg"' \
--form 'open_id="2812f017a7684f4292c06d12770f96aa"'
Request Schema
Parameter | Type | Required | Description |
---|---|---|---|
file | File | M | Upload file, must be less than 8M |
open_id | String | M | User ID in PingPong |
Response Sample
{
"code": 0,
"success": true,
"message": "OK",
"data": {
"file_id": "1021051111054402741601368G6E95"
}
}
Response Schema
Parameter | Type | Description |
---|---|---|
file_id | String | File ID |