jumio

Playtech.API. jumio

Deprecated:
  • Please avoid using this API and consult with Playtech team.

Methods

# (static) getRedirectUrl(type) → {string}

Retrieve jumio redirect url.
Parameters:
Name Type Description
type string
Returns:
Type
string
Example
// 'https://core3-qa09.mws.playtechgaming.com/en/?jumioVerify=test'
Playtech.API.jumio.getRedirectUrl('test');

# (static) handleRedirect(url)

Perform 'handleJumioRedirect'-function from window.Playtech.API if provided by licensee or redirect to provided here url.
Parameters:
Name Type Description
url string
Example
Playtech.API.jumio.handleRedirect('https://www.example.com');

# (static) verifyNow(options) → {Promise.<{data: {redirectURL: string, reference: string}}>}

Perform Initiate document upload request.
Parameters:
Name Type Description
options Object Fields for request.
Properties
Name Type Attributes Description
successUrl string
errorUrl string
documentType string <optional>
Examples of document type: PASSPORT, DRIVING_LICENCE, ID_CARD, CCS, BS, UB.
Returns:
Type
Promise.<{data: {redirectURL: string, reference: string}}>
Example
Playtech.API.jumio.verifyNow({ errorUrl: 'https://error.com', successUrl: 'https://success.com', documentType: 'PASSPORT' });