Token Payment
Accept payments via Apple Pay and Google Pay through Epoint’s token payment system. The widget provides a unified payment interface that can be embedded in your website or app via an iframe.
POSTGenerate widget URLClick to reveal
***Integration Options
- Apple Pay — Web and mobile app integration
- Google Pay — Web integration
How It Works
- Generate a widget URL using the Token Widget endpoint
- Embed the widget URL in an iframe or webview
- The customer completes payment using Apple Pay or Google Pay
- Listen for the
messageevent to receive the payment result
JavaScript
1window.addEventListener('message', function(event) {2console.log(event.data); // {status: 'success', payment: {...}}3});