Skip to Content
docs
Token PaymentApple Pay

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

  1. Generate a widget URL using the Token Widget endpoint
  2. Embed the widget in an iframe
  3. Listen for the message event 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

  1. Generate a widget URL using the Token Widget endpoint
  2. Load the widget URL in a WKWebView (iOS) or WebView
  3. 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