Square

The entry point of the Web Payments SDK.

Properties

Methods

JS
JavaScript

<script type="text/javascript" src="https://sandbox.web.squarecdn.com/v1/square.js"></script>

<script>

  if (window.Square) {

    const payments = Square.payments(applicationId, locationId);

  }

</script>