Fraud Monitoring
For 100% API integrations, we recommend adding the ONVO web library to collect browser signals from the buyer. These signals improve the accuracy of fraud prevention tools.
This implementation is optional, but highly recommended. It is not required for integrations that use plugins, payment links, or the embedded SDK, because those flows already include the necessary collection.
Install the library
Include the script in the page head, preferably before other scripts.
<script src="https://js.onvopay.com/v1/"></script>
Start the signal session
Initialize the library with your publishable key. When you have the paymentIntentId, and before confirming the payment, call startSignalSession.
<script>
const onvo = ONVO("onvo_live_publishable_key_H4PG...");
onvo.startSignalSession({
paymentIntentId: "clrr934wl001mdpkhw2g82rlt",
});
</script>
ONVO takes these signals into account during payment intent confirmation.