API Provider Setup
To authenticate a Square element instance you must register an app with Square. When you authenticate, use the Application ID, Application Secret, and Redirect URL as the API Key, API Secret, and Callback URL. If you plan to monitor events, also configure the Webhook URL.
See the latest setup instructions in the Square documentation.
Locate Credentials for Authentication
If you already created an application, follow the steps below to locate the Application ID, Application Secret, and Redirect URL. If you have not created an app, see Create an Application.
To find your OAuth 2.0 credentials:
- Log in to your account at Square.
- Click the application that you want to connect.
- Record the Application ID.
- Click the OAuth tab, and then record the Application Secret and Redirect URL.
Create an Application
If you have not created an application, you need one to authenticate with Square.
To create an application:
- Log in to your account at Square.
- Click the application that you want to connect.
- On the Application Dashboard, click New Application.
- Enter a name, agree to the terms of service, and then click Create Application.
- Record the Application ID.
- Click the OAuth tab, and then enter your OAuth callback URL in Redirect URL.
- Record the Application Secret and Redirect URL.
Next authenticate an element instance with Square.