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: 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-17"`|
8
+
|`squareVersion`|`String`| Square Connect API versions<br>*Default*: `"2022-08-23"`|
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/buy-now-pay-later-details.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
@@ -11,15 +11,17 @@ Additional details about a Buy Now Pay Later payment type.
11
11
12
12
| Name | Type | Tags | Description | Getter |
13
13
| --- | --- | --- | --- | --- |
14
-
|`Brand`|`String`| Optional | The brand used for the Buy Now Pay Later payment.<br>The brand can be `AFTERPAY` or `UNKNOWN`.<br>**Constraints**: *Maximum Length*: `50`| String getBrand() |
14
+
|`Brand`|`String`| Optional | The brand used for the Buy Now Pay Later payment.<br>The brand can be `AFTERPAY`, `CLEARPAY` or `UNKNOWN`.<br>**Constraints**: *Maximum Length*: `50`| String getBrand() |
Copy file name to clipboardExpand all lines: src/main/java/com/squareup/square/utilities/WebhooksHelper.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ public class WebhooksHelper {
20
20
* @param signatureHeader The value for the {@code x-square-hmacsha256-signature} header.
21
21
* @param signatureKey The signature key from the <a href="https://developer.squareup.com/apps">Square Developer portal</a> for the webhook subscription.
22
22
* @param notificationUrl The notification endpoint URL as defined in the <a href="https://developer.squareup.com/apps">Square Developer portal</a> for the webhook subscription.
23
-
* @return {@code true} if the signature is valid, indicating that the event can be trusted as it came from Square.
23
+
* @return {@code true} if the signature is valid, indicating that the event can be trusted as it came from Square.<br/>
24
24
* {@code false} if the signature validation fails, indicating that the event did not come from Square, so it may be malicious and should be discarded.
0 commit comments