Square API - Setup Instructions

API Setup
1 Sign up for a Square account. Visit the Developer Portal and create an app by clicking the + icon.


2 Once you have created an app, click to access it. Here you will see your application ID and access point.


3 From the left menu select 'Webhooks', then click 'Add Endpoint'.


Enter the callback/endpoint 'https://www.example.com/control/callback/square.php' and specify all event types. If there is an option to select an API version, you should choose '2021-10-20'. Make sure the callback url is the correct url to your setup.


Once created, click the link on the 'Webhooks' page to view your endpoint details and secure signature key.


4 From the left menu click 'Locations' to view your location ID:


5 Enter all the required details in your Maian Music admin area:

Payment Gateways > Manage Gateways > Square
Setup is Completed!
Sandbox Testing
Square has a nice easy to use test system so you can test the system before going live. Simply switch your 'Sandbox' environment on in your Developer Portal and set the test keys in your Maian Music account. Make sure you create a Sandbox account first on the main page.