Update KYC Id Proof

This API is used to update KYC ID proof details after submission

  • Path: /api/v1/account/updateIDProof

  • Method: POST

  • Content-Type

    application/json

  • Headers

Key
Type
Required
Comments

authorization

string

YES

Authorization Header

  • Body

Key
Type
Required
Comments

api_key

string

YES

api key

request_id

string

YES

Unique id; the shortest is 20 characters, the longest is 64 characters

timestamp

string

YES

13-digit; Valid for plus or minus 30

username

string

YES

Unique username of the account.

id_type

string

YES

Type of ID proof document: Passport、Driver License、National Id

id_number

string

YES

ID number must be the same as showing on ID Proof document.

issued_by

string

YES

2 digit ISO country code of issuing country: US、IN...

issued_date

string

YES

Id proof issuing date. Must be before TODAY.Optional if id_type is National Id.-format: YYYY-DD-MM

expiration_date

string

YES

Id proof expiration date. Must be after TODAY.Optional if id_type is National Id.-format: YYYY-DD-MM

language

string

YES

Language of the submitted document: English、Spanish、 French、Arabic、Chinese、Japanese、Russian、Portuguese、 German、Italian、Hindi、Other

id_front

string

YES

Base64 encoded document data.

id_back

string

YES

Base64 encoded document data. Optional if id_type is Passport

id_front_extension

string

YES

File extension

id_back_extension

string

YES

File extension

sign

string

YES

sign: MD5(api_key+username+timestamp+secret+request_id)lowercase hex

  • Example

    {
      api_key: 'fd01a53d7834b06c080cd1024ae9c60a',
      request_id: 'fc8d4d1d60204e8489e2b1cf40142e6f',
      timestamp: '1682073566941',
      username: 'lili111',
      id_type: 'Passport',
      id_number: '12234',
      issued_by: 'aaa',
      issued_date: '2021-07-10',
      expiration_date: '2029-07-10',
      language: 'English',
      id_front: '',
      id_back: '',
      id_front_extension: 'jpeg',
      id_back_extension: 'jpeg',
      sign: 'f0f3c461cecb59217049c1df1c56db90'
    }

    signature example:MD5(fd01a53d7834b06c080cd1024ae9c60alili111168207356694116388ce4331b35e8e0d32777ba57d7d9fc8d4d1d60204e8489e2b1cf40142e6f)

  • Response

Key
Type
Comments

code

number

Response code

msg

string

Response message

  • Example

    {
      "code": 10200,
      "msg": "ok"
    }

Last updated