Integrating existing Square POS to a new application : Requirements

I am building an application for a restaurant that uses Square POS, i also want to send my orders to POS through the mobile application, my app being an external source. To use the orders and payments APIs from the SDK, I am aware that I need the location_id. Do I need any other information related to the account or is there anything I will need from my client i.e the restaurant owner. And what would be the steps I need to follow to integrate smoothly. Any help would be greatly appreciated!

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Build on Android: Point of Sale API
Square Developer Documentation
Build on Mobile Web

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Hey @bushra! You’ll also need an Access Token to authenticate your requests and grant your application access to the restaurant’s Square account.

This access token can be provided directly by the restaurant, or via an OAuth flow. If this application is intended for use only by one restaurant, it might be simpler to have them provide their own access token. However, if you intend on connecting this application to many Square sellers, I’d definitely recommend implementing OAuth: OAuth API Overview

Beyond that, what will be required in the body of your CreateOrder request will depend on your use case. Please also note that in order for an order to be pushed to Square Point of Sale, it will need to be fully paid and have fulfillment details added.

1 Like

Thankyou for the solution, it helped a lot.