This section introduces the integration options available to the Samsung Pay developers:
-
Web Checkout
This option consists of a JavaScript-based web development kit targeted to individual merchants and those payment gateways (PG) that provide a ready-made solution for their merchants. It integrates the Samsung Pay payment system with your website using a simple button that allows a customer to pay for purchases with a payment card saved in Samsung Wallet.
When the customer clicks the button and chooses to pay with Samsung Pay, Web Checkout guides the customer through the payment process where they must scan the QR code on the screen with their mobile device, or provide their Samsung Account email address. After the customer authorizes the purchase within their Samsung Wallet app, the app generates the payment credentials on the device and transmits them to your website.
You can also implement Web Checkout using an Android WebView to display the checkout inside an Android app as a web page. For more information, see Implement a WebView integration.
-
Web Checkout's Merchant Onboarding API
This option is a REST (Representational State Transfer) API for PGs that need to onboard and manage merchants at scale. While services can be created through the Samsung Pay Portal by both merchants and PGs, the API provides a more efficient way for PGs to onboard and manage their merchants at scale through API operations.
-
W3C Payment Request
This option is built on the W3C Payment Request API, which provides a standardized browser-based payment experience between your website and a payment app (in this case, the Samsung Wallet app). The option allows you to integrate the Samsung Pay payment system with your website using a simple button that allows a customer to pay for purchases with a payment card saved in Samsung Wallet.
When the customer clicks the button and chooses to pay with Samsung Pay, the W3C Payment Request API is used to guide the customer through the payment process. After the customer authorizes the purchase within their Samsung Wallet app, the app generates the payment credentials on the device and transmits them to your website.
-
Samsung Pay SDK for Android or Flutter
You can use these options in Android apps, based on your development platform: Samsung Pay SDK for Android used with native Android apps and the Samsung Pay SDK for Flutter used with apps that are based on Google's Flutter framework.
Both options allow merchants and PGs to create card transactions when a customer wants to make a purchase in the merchant app.