Browser API for Checkify Pass verification. CDN URL: https://checkify.me/sdk/v1/checkify.min.js
<script src="https://checkify.me/sdk/v1/checkify.min.js"></script>
After load, window.Checkify.version reports the SDK release (currently 1.0.0).
The SDK auto-mounts elements with these attributes on page load:
<div
data-checkify-pass="YOUR_PASS_ID"
data-checkify-request="human"
data-checkify-text="Verify with Checkify"
data-checkify-return-url="https://yoursite.com/done"
></div>
Deprecated: data-checkify-launcher still works but logs a console warning. Use Pass + request type instead.
Set global defaults before mounting widgets.
Checkify.configure({
baseUrl: 'https://checkify.me',
completeUrl: '/checkify/complete'
});
Renders a verify button, writes a token to a hidden input, and disables submit until verified.
Checkify.bindForm('#my-form', {
passId: 'YOUR_PASS_ID',
requestType: 'human',
buttonTarget: '#checkify-wrap',
submitButton: '#submit',
hiddenInput: '#checkify_token',
disableSubmitUntilVerified: true
});
Full-page or container gate that blocks content until verification completes.
Checkify.createHumanGate({
passId: 'YOUR_PASS_ID',
requestType: 'human',
container: '#gate-root',
title: 'Verify to continue'
});
When users complete verification in the Checkify app, they may return to your site with checkify_request_id in the query string.
The SDK calls Checkify.checkReturnedVerification() automatically on load.
window.addEventListener('checkify:verified', (e) => {
console.log('Verified', e.detail);
});
window.addEventListener('checkify:error', (e) => {
console.error('Checkify error', e.detail);
});
| Method | Description |
|---|---|
Checkify.mount(root?) | Mount Pass widgets under optional root element |
Checkify.bindForm(...) | Form integration helper |
Checkify.createHumanGate(...) | Human verification gate UI |
Checkify.verify(options) | Programmatic verify flow |
Checkify.checkReturnedVerification() | Handle return URL after app handoff |