Skip to content

Commit

Permalink
Bump Square Version.
Browse files Browse the repository at this point in the history
  • Loading branch information
eyw520 committed Jan 22, 2025
1 parent 8b67550 commit a87380c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The following parameters are configurable for the API Client:

| Parameter | Type | Description |
| --- | --- | --- |
| `squareVersion` | `string` | Square Connect API versions<br>*Default*: `'2024-12-18'` |
| `squareVersion` | `string` | Square Connect API versions<br>*Default*: `'2025-01-23'` |
| `customUrl` | `string` | Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`<br>*Default*: `'https://connect.squareup.com'` |
| `environment` | `string` | The API environment. <br> **Default: `production`** |
| `timeout` | `int` | Timeout for API calls in seconds.<br>*Default*: `60` |
Expand All @@ -30,7 +30,7 @@ $client = SquareClientBuilder::init()
'AccessToken'
)
)
->squareVersion('2024-12-18')
->squareVersion('2025-01-23')
->environment(Environment::PRODUCTION)
->customUrl('https://connect.squareup.com')
->build();
Expand Down Expand Up @@ -61,7 +61,7 @@ $client = SquareClientBuilder::init()
'AccessToken'
)
)
->squareVersion('2024-12-18')
->squareVersion('2025-01-23')
->environment(Environment::PRODUCTION)
->customUrl('https://connect.squareup.com')
->build();
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigurationDefaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ConfigurationDefaults

public const HTTP_METHODS_TO_RETRY = ['GET', 'PUT'];

public const SQUARE_VERSION = '2024-12-18';
public const SQUARE_VERSION = '2025-01-23';

public const ADDITIONAL_HEADERS = [];

Expand Down

0 comments on commit a87380c

Please sign in to comment.