yuno.mountFraud(...): UI mode. Rendered a fraud widget AND created the payment via its ownyunoCreatePayment.yuno.executeFraudCheck(...): Headless. Returned device-fingerprint identifiers; no UI.
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(...)becomesSdkPayments.initialize(...). Your public API key and the checkout sessions your backend creates do not change (Before you begin). - If you are replacing
mountFraudwith aTransaction, decide who creates the payment. The checkout session’sworkflowmust match that decision:
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
Related
createPayment. For manual payment creation in normalTransactionflows.