/
v3.0.11Get access

addOrUploadLegigameClientDocs

To verify the user using Legigame verification

Request parameters:

NameDescriptionTypeValuesDefault
name
Name of the uploaded documentstring--
imageData
Uploaded document in Base64-encoded stringstring--
imageType
Uploaded document typestring"iban", "other", "video", "selfie", "bankslip", "document", "passport", "socialCard", "utilityBill", "driveLicense", "proofOfPayment", "registrationCard"-

Call example:

addOrUploadLegigameClientDocs({
  name: 'test.pdf',
  imageType: 'document',
  imageData: 'test.pdf/iqnwdibqdbkbqwkdkj…'
})

Response examples:

{
  result: 0,
  result_text: null,
  details: []
}