/
v3.0.11Get access

uploadImage

Handles image uploads to the server. It accepts an image file and returns the stored image reference (e.g. URL or ID). It is used for profile pictures, document verification, and other flows where users need to upload images.

Request parameters:

NameDescriptionTypeValuesDefault
name
Image namestring--
imageData
Base64 encoded data URLstring--
imageType
Image typestring"iban", "selfie", "video", "passport", "bankslip", "document", "utilityBill", "socialCard", "driveLicense", "proofOfPayment", "registrationCard", "other"-
This method is usually used with these methods:

Call example:

uploadImage({
  imageType: 7,
  name: 'profile_picture.png',
  imageData: 'data:image/png;base64,iVBORw0KG...'
})

Response examples:

{
  rid: 10003,
  code: 0,
  data: {
    result: 0,
    result_text: null,
    details: []
  }
}