Skip to content

Commit c3119e4

Browse files
committed
Add Note about OAuth access token scope
1 parent a378ccd commit c3119e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/data-factory/connector-square.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: data-factory
88
ms.subservice: data-movement
99
ms.topic: conceptual
1010
ms.custom: synapse
11-
ms.date: 01/27/2022
11+
ms.date: 03/10/2022
1212
---
1313

1414
# Copy data from Square using Azure Data Factory or Synapse Analytics (Preview)
@@ -89,6 +89,10 @@ Square support two types of access token: **personal** and **OAuth**.
8989

9090
Authentication via personal access token only needs `accessToken`, while authentication via OAuth requires `accessToken` and `refreshToken`. Learn how to retrieve access token from [here](https://developer.squareup.com/docs/build-basics/access-tokens).
9191

92+
>[!Note]
93+
> Define the scope when you get OAuth access tokens and refresh tokens in Square. The scope should at least be set as below:
94+
>`BANK_ACCOUNTS_READ+CUSTOMERS_READ+ITEMS_READ+EMPLOYEES_READ+DISPUTES_READ+GIFTCARDS_READ+INVENTORY_READ+INVOICES_READ+TIMECARDS_READ+PAYMENTS_READ+SUBSCRIPTIONS_READ+ORDERS_READ+LOYALTY_READ+MERCHANT_PROFILE_READ+SETTLEMENTS_READ`
95+
9296
**Example:**
9397

9498
```json

0 commit comments

Comments
 (0)