Skip to main content

More Information

Key Methods

arrow init(options): Initializes the SDK with configuration options.
arrow setToken(token): Sets the authentication token for verification (alternative to client ID and customer ID).
arrow start(callback): Initiates the verification process.The callback is optional.
arrow on(eventName, callback): Listens for verification events (e.g., 'shuftiResponse').
arrow fetchRequestStatus(referenceId, callback): Fetches the status of a verification request using its reference ID.
arrow destroy(): Cleans up and destroys the SDK instance.

Supported browsers

ChromeFirefoxEdgeSafari
Latest ✔Latest ✔Latest ✔Latest ✔

Additional Notes

  • Consider using client ID and customer ID for better control and security (recommended approach).
  • Remember to replace placeholders like YOUR_CLIENT_ID, YOUR_CUSTOMER_ID, token, and yourRequestPayload with your actual values.

Additional Features

Journey Builder

For guide on Journey Builder features , integration and recommendations, please refer to the guide ShuftiPro Journey Builder.

Customized iFrame Design

For instruction and guide on how to embed the apply styles and customized design in iframe, please refer to the guide ShuftiPro iFrame Design.

Troubleshooting

Enabling Camera Permissions for an iframe

When using the SDK, it will request permissions from users as needed. It will require your users' browser CAMERA permissions to be enabled. If you do not receive a prompt or if the camera does not work, you may need to adjust the camera permissions directly in your browser settings: If you are using iframeId flow ensure that your iframe includes the allow attribute with the camera permission. Your iframe code should look something like this:

<iframe id="iframeId" src="" allow="camera; microphone;"></iframe>

Support

Should you encounter any technical issues during integration, please contact ShuftiPro's Customer Support team here, including the word ISSUE: at the start of the subject line.

We recommend you update your SDK to the latest version release as frequently as possible. Customers on newer versions of the ShuftiPro SDK consistently see better performance across user onboarding and fraud mitigation, so we strongly advise keeping your SDK integration up-to-date.