Skip to content

Get Started with Web SDK

Download Web SDK

Compatibility

Supports all modern browsers and IE9+ browsers.

Direct Import

After downloading to the project, import using the js-sdk.min.js file

html
<script>
  import JsPayment from "./script/js-payment/js-sdk.min.js";
</script>

Browser introduction

Import the file directly in the browser using the script tag, and then use the js-sdk.min.umd.cjs file

html
<script src="./script/js-payment/js-sdk.min.umd.cjs"></script>
<script>
  const JsPayment = window.JsPayment;
</script>