Square payments can be processed across multiple channels, including online, in-app, and in-person. The Square developer platform includes server-side APIs that support online payments and mobile SDKs that support mobile payments on seller or buyer mobile devices.
Online payments comprise a web frontend that accepts a buyer’s payment card and a seller-hosted backend that processes the payment using the payment token generated by the web frontend.
Use the payment form in your frontend to accept a payment card and the Payments API in your backend to process the payment. For more information, see Square Payments in your Website.
Use the In-App Payments SDK to accept in-application payments on a seller-created mobile application and installed on a buyer's Android or iOS device. Buyers use the application to check out purchases and enter payment card information. When the checkout is complete, the application sends a secure payment token to the seller backend for payment.
Square offers hardware devices to process in-person payments. The Square SDK and APIs connect your custom application to these devices.
If you have a custom application running on Android and iOS devices that you want to connect to Square hardware (such as, Square Reader for magstripe, Square Reader for contactless and chip, and Square Stand for contactless and chip) to process payments, you can use the following API and SDK:
Reader SDK. Use this mobile SDK to embed the Square payment flow in your own mobile application payment UI using a Square Reader. Reader SDK is not available outside the United States.
Point of Sale API. Use this API in scenarios where Reader SDK cannot be used, including when:
Your point-of-sale (POS) application is a web page running in a mobile browser.
Some or all of the sellers using your POS application are based in a Square-supported country other than the United States.
The Terminal API lets your POS application process purchases using a seller's Square Terminal device. Square Terminal combines hardware and software and can be accessed from a third-party POS application running on a Windows, macOS, iOS, or Android device.