Gateway Components (Gateway.js)
Gateway.js is a suite of drop-in UI components for common payment scenarios — pre-built embeddable widgets that integrate into your web application with minimal code.
Available Components
- Payer Authentication (3DS) — 3D Secure cardholder authentication
- Kount Fraud Management — AI-powered fraud scoring
- CardEase 3DS Server Integration — Server-side 3DS
Loading Gateway.js
<script src="https://secure.cyogate.net/gateway/Gateway.js"
data-public-key="YOUR_PUBLIC_KEY"></script>
Component Initialization Pattern
CyoGateGateway.Component.mount('#container-id', {
publicKey: 'YOUR_PUBLIC_KEY',
onComplete: function(result) { console.log('Done:', result); },
onError: function(error) { console.error('Error:', error); }
});