Skip to main content
Fraud screening had two legacy entry points on Web:
  • yuno.mountFraud(...): UI mode. Rendered a fraud widget AND created the payment via its own yunoCreatePayment.
  • yuno.executeFraudCheck(...): Headless. Returned device-fingerprint identifiers; no UI.
In the unified API, fraud screening runs automatically inside Transaction during tokenization (you don’t wire anything). The standalone headless check moves to a top-level method on SdkPayments (not on Transaction, because it’s a query, not a transaction). The UI variant is dropped: its responsibilities are absorbed by Transaction.

Before you start

  • Load the unified SDK bundle instead of the legacy one and initialize it as the side-by-side shows: window.Yuno.initialize(...) becomes SdkPayments.initialize(...). Your public API key and the checkout sessions your backend creates do not change (Before you begin).
  • If you are replacing mountFraud with a Transaction, decide who creates the payment. The checkout session’s workflow must match that decision:
A default-workflow session with no createPayment override ends in INTERNAL_ERROR: the backend rejects the SDK’s payment creation. See createPayment.

Side-by-side

Headless fraud check

Fraud UI

What changes

Grouped in the order you edit the code. Renamed: same role, new name. Moved: same value, new owner. Removed: nothing to call. New: no legacy counterpart. The last column is the only thing you have to do beyond the rename.

Initialization and config

Callbacks

Entry points

  • createPayment. For manual payment creation in normal Transaction flows.