Fraud detection

One upload, one decision. The browser runs with a session token, so it gets what to tell the user next; the scores and the checks behind them stay with your server's secret key.

Use a phone photo of the physical document and send it exactly as the phone saved it: no cropping, resizing or re-saving. Screenshots, downloaded images and anything under 640 × 400 px are sent to manual review.

const check = await client.fraud.detect(frontImage, { backImage, documentType: 'cid' }); // check.decision, check.summary.action
— run something above and the SDK call appears here —