Objects
Web Payments SDK
The entry point of the Web Payments SDK.
An array of programmatically handleable error types for ease of matching using instanceof
The entry point to Square Payments. Use this method to configure your applicationId and locationId
<script type="text/javascript" src="https://sandbox.web.squarecdn.com/v1/square.js"></script> <script> const payments = window.Square.payments(applicationId, locationId); </script>