🛂#6 Passport Scan

#6.1 Select National Id Step (False) :

This API is only required when national id or passport configuration is enabled .

If you enable the National ID or Passport option in the Personality Confirmation section of the Organization Configuration, then during the onboarding process you must specify the type of document you want to use for onboarding — either National ID or Passport.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Path parameters
isNationalIDbooleanRequired

True if onboarding using National Id, false if passport

Example: true
Responses
chevron-right
200

Success

No content

post
/Onboarding/api/v1/onboarding/Request/SelectNationalIdStep/{isNationalID}

No content

#6.2 Upload Passport Image :

This API is to upload passport image.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Body
imagestringRequired

This attribute is base64 front-side, back-side or passport image.

Responses
chevron-right
200

Success

application/json
isSuccessbooleanOptional
messagestring · nullableOptional
errorCodestring · nullableOptional
post
/Onboarding/api/v1/onboarding/Passport/UploadPassportImage

#6.3 Approve Passport Info:

This API is to approve the OCR result data of passport image.

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Body
fullNameArstring · nullableOptional

Translated arabic full name, this attribute can be used when traslate feature is enabled at admin panel configuration steps.

Example: أحمد محمد أحمد محمد
Responses
chevron-right
200

Success

application/json
statusinteger · enumOptional

Indicates the result of the operation. 0 = Success, 1 = Failed.

Possible values:
post
/Onboarding/api/v1/onboarding/Passport/Approve

Last updated