Apple Pay
Accept payments via Apple Pay. Available for both web and mobile app integration.
Integration
Apple Pay integration uses the Token Widget endpoint. Generate a widget URL, then embed it in your website or mobile app’s webview.
Web Integration
- Generate a widget URL using the Token Widget endpoint
- Embed the widget in an iframe
- Listen for the
messageevent to receive the payment result
HTML
1<iframe src="WIDGET_URL" width="100%" height="400"></iframe>JavaScript
1window.addEventListener('message', function(event) {2console.log(event.data); // {status: 'success', payment: {...}}3});Mobile App Integration
- Generate a widget URL using the Token Widget endpoint
- Load the widget URL in a WKWebView (iOS) or WebView
- Handle the result via JavaScript bridge or message listener
Requirements
- Apple Pay must be enabled on the customer’s device
- Your domain must be verified with Apple for web integration
- Contact Epoint support to enable Apple Pay for your merchant account