# Square settings

Square integration allows you to accept pay as you go and recurring payments via [Square](https://squareup.com/).

{% hint style="danger" %}
Square will likely eventually verify your account using the URL of your online business where you sell your products/services. You will have to provide a site where you appear to be selling legitimate products so keep that in mind when you supply URL of your site to Square.
{% endhint %}

Square settings are as follows:

* Enabled - indicates whether to enable Square for payments
* Checkout enabled - indicates whether Square is enabled on the checkout page for pay as you subscriptions
* Recurring checkout enabled - indicates whether Square is enabled on the checkout page for recurring subscriptions
* Transaction sync enabled - indicates whether to enable periodic (hourly) Square transaction synchronization. This is required if recurring payments are enabled
* Personal access token - Square Personal access (see below how to obtain one)
* Application id - Square application id

Square integration is done using Square personal access token. To retrieve your personal access token, follow the steps below:

* Login to your Square account on <https://app.squareup.com/>
* On the left navigation menu, navigate to `Settings` and the `App integrations`
* Click the `Manage` button next to you application
* Ensure that `Credentials` option is selected on the left navigation menu and then at the top of the page select `Production` for live payments or `Sandbox` for test payments
* On the page you will find your application id and access token that will need to be copied and entered into Streams Manager
* Click the Test button in Streams Manager to test the credentials
* Click `Save` to save the settings


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://streamsmanager.gitbook.io/streams-manager/configuration/settings/payment-gateways/square-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
