You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-12Lines changed: 18 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,14 @@
8
8
9
9
Use this library to integrate Square payments into your app and grow your business with Square APIs including Catalog, Customers, Employees, Inventory, Labor, Locations, and Orders.
10
10
11
+
*[Requirements](#requirements)
12
+
*[Installation](#installation)
13
+
*[Quickstart](#quickstart)
14
+
*[Usage](#usage)
15
+
*[Tests](#tests)
16
+
*[SDK Reference](#sdk-reference)
17
+
*[Deprecated APIs](#deprecated-apis)
18
+
11
19
## Requirements
12
20
13
21
Use of the Square Java SDK requires:
@@ -109,16 +117,17 @@ mvn test
109
117
*[Sites]
110
118
*[Snippets]
111
119
112
-
### Authorization APIs
120
+
### Authorization
113
121
*[Mobile Authorization]
114
122
*[OAuth]
115
123
116
-
### Deprecated APIs
117
-
*[Employees]
118
-
*[V1 Employees]
119
-
*[V1 Transactions]
120
-
*[V1 Items]
121
-
*[Transactions]
124
+
## Deprecated APIs
125
+
126
+
The following Square APIs are [deprecated](https://developer.squareup.com/docs/build-basics/api-lifecycle):
127
+
128
+
*[Employees] - replaced by the [Team] API. For more information, see [Migrate from the Employees API](https://developer.squareup.com/docs/team/migrate-from-v2-employees).
129
+
130
+
*[Transactions] - replaced by the [Orders] and [Payments] APIs. For more information, see [Migrate from the Transactions API](https://developer.squareup.com/docs/payments-api/migrate-from-transactions-api).
122
131
123
132
#### Usage Notes for V1 Transactions
124
133
@@ -150,7 +159,6 @@ You'll also need to provide logic to handle paginated results. For more informa
Copy file name to clipboardExpand all lines: doc/api/apple-pay.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,10 @@ an Apple Pay enabled domain.
18
18
This endpoint provides an easy way for platform developers to bulk activate
19
19
Apple Pay on the Web with Square for merchants using their platform.
20
20
21
-
To learn more about Web Apple Pay, see
22
-
[Add the Apple Pay on the Web Button](https://developer.squareup.com/docs/payment-form/add-digital-wallets/apple-pay).
21
+
Note: The SqPaymentForm library is deprecated as of May 13, 2021, and will only receive critical security updates until it is retired on October 31, 2022.
22
+
You must migrate your payment form code to the Web Payments SDK to continue using your domain for Apple Pay. For more information on migrating to the Web Payments SDK, see [Migrate to the Web Payments SDK](https://developer.squareup.com/docs/web-payments/migrate).
23
+
24
+
To learn more about the Web Payments SDK and how to add Apple Pay, see [Take an Apple Pay Payment](https://developer.squareup.com/docs/web-payments/apple-pay).
Provides the details for all refunds initiated by a merchant or any of the merchant's mobile staff during a date range. Date ranges cannot exceed one year in length.
|`cursor`|`String`| Query, Optional | A pagination cursor returned by a previous call to this endpoint.<br>Provide this to retrieve the next set of results for your original query.<br><br>For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). |
71
71
|`includeDisabled`|`Boolean`| Query, Optional | Includes disabled [Subscription](../../doc/models/webhook-subscription.md)s.<br>By default, all enabled [Subscription](../../doc/models/webhook-subscription.md)s are returned.<br>**Default**: `false`|
72
72
|`sortOrder`|[`String`](../../doc/models/sort-order.md)| Query, Optional | Sorts the returned list by when the [Subscription](../../doc/models/webhook-subscription.md) was created with the specified order.<br>This field defaults to ASC. |
73
-
|`limit`|`Integer`| Query, Optional | The maximum number of results to be returned in a single page.<br>It is possible to receive fewer results than the specified limit on a given page.<br>The default value of 100 is also the maximum allowed value. If the provided value is greater<br>than 100, it is ignored and the default value is used instead.<br><br>Default: 100 |
73
+
|`limit`|`Integer`| Query, Optional | The maximum number of results to be returned in a single page.<br>It is possible to receive fewer results than the specified limit on a given page.<br>The default value of 100 is also the maximum allowed value.<br><br>Default: 100 |
Copy file name to clipboardExpand all lines: doc/client.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ The following parameters are configurable for the API Client:
5
5
6
6
| Parameter | Type | Description |
7
7
| --- | --- | --- |
8
-
|`squareVersion`|`String`| Square Connect API versions<br>*Default*: `"2022-08-23"`|
8
+
|`squareVersion`|`String`| Square Connect API versions<br>*Default*: `"2022-09-21"`|
9
9
|`customUrl`|`String`| Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`<br>*Default*: `"https://connect.squareup.com"`|
10
10
|`environment`|`string`| The API environment. <br> **Default: `production`**|
Copy file name to clipboardExpand all lines: doc/models/accumulate-loyalty-points-response.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Represents an [AccumulateLoyaltyPoints](../../doc/api/loyalty.md#accumulate-loya
13
13
| --- | --- | --- | --- | --- |
14
14
|`Errors`|[`List<Error>`](../../doc/models/error.md)| Optional | Any errors that occurred during the request. | List<Error> getErrors() |
15
15
|`Event`|[`LoyaltyEvent`](../../doc/models/loyalty-event.md)| Optional | Provides information about a loyalty event.<br>For more information, see [Search for Balance-Changing Loyalty Events](https://developer.squareup.com/docs/loyalty-api/loyalty-events). | LoyaltyEvent getEvent() |
16
-
|`Events`|[`List<LoyaltyEvent>`](../../doc/models/loyalty-event.md)| Optional | The resulting loyalty events. The `ACCUMULATE_POINTS` eventis always included.<br>When using the Orders API, the `ACCUMULATE_PROMOTION_POINTS` event is included<br>if the purchase also qualifies for a loyalty promotion. | List<LoyaltyEvent> getEvents() |
16
+
|`Events`|[`List<LoyaltyEvent>`](../../doc/models/loyalty-event.md)| Optional | The resulting loyalty events. If the purchase qualifies for points, the `ACCUMULATE_POINTS` event<br>is always included.When using the Orders API, the `ACCUMULATE_PROMOTION_POINTS` event is included<br>if the purchase also qualifies for a loyalty promotion. | List<LoyaltyEvent> getEvents() |
0 commit comments