README.md in square_connect-2.0.2.13 vs README.md in square_connect-2.0.2.30
- old
+ new
@@ -9,10 +9,12 @@
- API version: 2.0
- Package version: 2.0.2
- Build package: io.swagger.codegen.languages.RubyClientCodegen
+For more information, please visit [https://squareup.com/developers](https://squareup.com/developers)
+
## Installation
### RubyGems
The Ruby SDK is published as a gem. Simply run:
@@ -157,10 +159,31 @@
- [SquareConnect::VoidTransactionResponse](docs/VoidTransactionResponse.md)
## Documentation for Authorization
- All endpoints do not require authorization.
+
+### oauth2
+
+- **Type**: OAuth
+- **Flow**: accessCode
+- **Authorization URL**: `https://connect.squareup.com/oauth2/authorize?<PARAMETERS>`
+- **Scopes**:
+ - MERCHANT_PROFILE_READ: GET endpoints related to a merchant's business and location entities. Almost all Connect API applications need this permission in order to obtain a merchant's location IDs
+ - PAYMENTS_READ: GET endpoints related to transactions and refunds
+ - PAYMENTS_WRITE: POST, PUT, and DELETE endpoints related to transactions and refunds. E-commerce applications must request this permission
+ - CUSTOMERS_READ: GET endpoints related to customer management
+ - CUSTOMERS_WRITE: POST, PUT, and DELETE endpoints related to customer management
+ - SETTLEMENTS_READ: GET endpoints related to settlements (deposits)
+ - BANK_ACCOUNTS_READ: GET endpoints related to a merchant's bank accounts
+ - ITEMS_READ: GET endpoints related to a merchant's item library
+ - ITEMS_WRITE: POST, PUT, and DELETE endpoints related to a merchant's item library
+ - ORDERS_READ: GET endpoints related to a merchant's Square online store.
+ - ORDERS_WRITE: POST, PUT, and DELETE endpoints related to a merchant's Square online store
+ - EMPLOYEES_READ: GET endpoints related to employee management
+ - EMPLOYEES_WRITE: POST, PUT, and DELETE endpoints related to employee management
+ - TIMECARDS_READ: GET endpoints related to employee timecards
+ - TIMECARDS_WRITE: POST, PUT, and DELETE endpoints related to employee timecards
Contributing
------------