Square gives assortments of APIs that cooperate to tackle an assortment of issues. Engineers can fabricate arrangements utilizing the Square stage to meet the business needs of Square merchants.
In Get Started, you pursue a Square record and test API calls utilizing API Explorer and the Sandbox test climate. You likewise see the exchanges in the API logs and confirm the exchanges in the Square Seller Dashboard
On this page
Stage 1: Create a record and application
About Square applications
With regards to the Square dashboards
Stage 1: Create a record and application
There are two different ways an engineer can set up a Square record:
Make a record with negligible arrangement (quick track improvement). Engineers can make a Square record in a few stages with negligible data (an email address). This empowers engineers to test all Square APIs and begin creating. The main errand you can’t do is measure installments underway utilizing the Payments API (you can test installments in the Square Sandbox). You have the choice to later actuate this record for installment handling underway. To actuate your Square record for installments, see squareup.com/enact.
Make a record with complete arrangement. On the off chance that you mean to handle installments underway, you should finish the Square record arrangement. For bit by bit guidelines, see Let’s make your record.
For this Get Started, you utilize the most optimized plan of attack way to deal with make a record.
developers,
enter the necessary data (email address, secret word, and nation where the record is being made), and afterward pick Continue. Settle makes an outstanding balance and open the Developer Dashboard.
On the Applications page, pick the + (Plus) button, enter Test Application 1 in the Application Name box, and afterward pick Save.
You currently have a Square record that you can use to investigate Square APIs and start creating.
Prior to investigating the APIs, audit the accompanying areas to find out with regards to the Square applications and dashboards in the record you recently made.
About Square applications
A Square application empowers outer applications and answers for associate with Square. The application gives the important improvement accreditations and instruments expected to work with the Square API.
An application can traverse an assortment of utilization cases. As well as overseeing qualifications, you can oversee webhook memberships, API adaptations, Apple Pay setup, etc. The API rendition characterized in the application is the default Square API adaptation. On the off chance that an approaching solicitation does exclude an API form, the default is utilized.
You may just need one application in your utilization case. You can likewise make extra applications in the Developer Dashboard. Think about these models:
You utilize the Square stage to make a web arrangement and a versatile arrangement. For this situation, you may decide to make separate applications in your record.
You make free answers for oversee various situations, for example, oversee orders and oversee groups.
Make an application in the Developer Dashboard
You previously made an application. The accompanying system is for data as it were. To make an application:
Sign in to the Developer Dashboard.
On the Applications page, pick the + (Plus) button, enter a name in the Application Name box (for instance, John’s Coffee or Mike’s Sandwiches), and afterward pick Save. You just need to give an application name.
You can audit an application’s setup:
In the Developer Dashboard, pick an application.
In the left route sheet, pick the accompanying pages and audit the application’s arrangement settings:
Certifications. Gives certifications you can use to verify demands. Separate qualifications are given to use underway and Sandbox testing. The API rendition recognizes the adaptation utilized in your answer. In the event that an API demand incorporates an adaptation, it outweighs everything else. In the event that the solicitation does exclude an API form, the rendition in the application’s arrangement is utilized.
Areas. Showcases the area ID for your Square record. Square makes the underlying area ID dependent on data you gave during information exchange. A few Square APIs require your area ID. Accordingly, notwithstanding the Seller Dashboard, the Developer Dashboard gives this data to comfort.
OAuth. Empowers the board of the OAuth work process for your custom arrangements.
Also, the application keeps up with other data, for example, a Webhooks page (for constant notices) and different API setups. For more data, see Get Started: What’s Next.
Concerning the Square dashboards
At the point when you pursue a Square record, Square gives two dashboards:
Engineer Dashboard. Utilize the Developer Dashboard to make and deal with your applications, access the Sandbox Seller Dashboard, design webhooks for constant notices, and perform other improvement errands.
Dealer Dashboard. The Seller Dashboard gives merchants apparatuses to oversee every day business tasks. A dealer can handle pretty much all that expected to guarantee that the business is moving along as planned.
Moreover, there is a Sandbox Seller Dashboard for engineers to utilize when testing APIs in the Square Sandbox. Engineers access it through the Developer Dashboard. For more data, Step 2: Make an API demand.