/
v3.0.11Get access

getClientLegigameUploadedImages

The command returns the uploaded documents for the legigame verification service.

Request parameters:

The method works without parameters
This method is usually used with these methods:

Call example:

getClientLegigameUploadedImages()

Response examples:

{
  code: 0,
  rid: 799547279,
  data: {
    result: 0,
    result_text: null,
    details: {
      IdDoc: {
        VerifyStatus: 1,
        ProcessState: 3,
        VerificationState: 4,
        Id: 23685415,
        Name: 'VBET_Logo_2021.jpg',
        CreatedDate: '2025-04-30T10:00:38.414+04:00',
        TypeId: 2,
        ImageData: '/9j/4AAQSkZJ...',
        IsChecked: false,
        IsDeleted: false,
        Status: 0
      },
      AddressDoc: {
        VerificationState: 4,
        Id: 0,
        TypeId: 0,
        IsChecked: false,
        IsDeleted: false,
        Status: 0
      },
      BankDoc: {
        VerificationState: 5,
        Id: 0,
        TypeId: 0,
        IsChecked: false,
        IsDeleted: false,
        Status: 0
      }
    }
  }
}

Response parameters:

NameDescriptionTypeValues
[AddressDoc, BankDoc, IdDoc]
object
└─ VerifyStatus
The status of the uploaded document, 0 = not checked yet, 1 = other document, 2 = unacceptable, 3 = unreadable, 4 = unacceptable, 5 = unconsistent, 6 = unconsistent, 7 = expired, 8 = verified, 9 = verifiednumber0, 1, 2, 3, 4, 5, 6, 7, 8, 9
└─ ProcessState
The state of processing the imagenumber-
└─ VerificationState
The state of the verification of the image. 0 = created, 3 = error, 4 = expired, 5 = waiting client, 6 = client responded, 7 = waiting provider, 8 = provider responded 10 = verifiednumber0, 3, 4, 5, 6, 7, 8, 10
└─ Id
The Id of the documentnumber-
└─ Name
The name of the documentstring-
└─ CreatedDate
The upload date of the documentstring-
└─ TypeId
The Id of the type of the document. 2 = personal Id, 7 = address document, 5 = bank documennumber2, 5, 7
└─ ImageData
The data of the imagestring-
└─ IsChecked
true if the document is checkedbooleantrue / false
└─ IsDeleted
true if the document is deletedbooleantrue / false
└─ Status
The status of the documentnumber-