Embedded SDK

Add a seamless checkout directly to your website — no redirects, no hassle!

The myPOS Embedded SDK lets you integrate a secure, fully functional checkout form right into your webpage using an iFrame.
Customers stay on your site for the entire payment process, making checkout faster and boosting conversions.

What is Embedded Checkout?

Embedded Checkout is a myPOS-branded iFrame you can place anywhere on your site. Customers enter their card details and complete the transaction without leaving your page.

Keep customers on your website
No redirects to external pages
Smoother checkout experience
Higher conversion rates

Note: Google Pay and Apple Pay are currently not supported in Embedded Checkout.

Supported Payment Methods

Card Payments

MasterCardMaestroVISAVisa ElectronVPAYJCBBancontact

Bank Transfers

iDEALNetherlands only

Dutch customers can pay directly from their bank account.

Installation

npm
npm i mypos-embedded-checkout
yarn
yarn add mypos-embedded-checkout

Or include directly via script:

<script src="https://developers.mypos.com/repository/mypos-embedded-sdk.js" type="text/javascript"></script>

Requirements

Public IP Address

All requests must come from a public IP address.

HTTPS Required

Your urlNotify must use HTTPS.

Server Response

Respond with HTTP 200 OK and body OK

iFrame Size

Minimum: 320px × 620px

Important: Any response other than "OK" will be treated as an error and may cause transaction issues.

What You'll Learn

1Installation steps
2Sample code and examples
3Configuration options
4Event handling
5Customization
6Testing with test cards

Resources

Continue Reading