Square helps consumers to pay with card in a mobile environment. For a business that prefers to keep all sales information in a settled location, Square Stand is the choice. In contrast, if the enterprise is mobile, Square Reader is the alternative. With the aim to ease commerce, Square offers The Connect API. This application provides HTTP endpoints to retrieve reports for users' payments, refunds, and settlements. It also allows to manage merchant's items. Square Connect API is about point of sale transactions with cards using iPad, iPhone, and Android. Additional resources of transactions, OAuth, and eCommerce are available on Square site.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
The Square Java Sample Code by Square demonstrates how to interact with the API to implement mobile payment features into applications. Code on GitHub shows how to connect with OAuth, set URL, specify credentials, compile with Maven, and run example.