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
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,7 @@ The following parameters are configurable for the API Client:
5
5
6
6
| Parameter | Type | Description |
7
7
| --- | --- | --- |
8
-
|`square_version`|`String`| Square Connect API versions<br>*Default*: `'2023-01-19'`|
9
-
|`access_token`|`String`| The OAuth 2.0 Access Token to use for API requests. |
8
+
|`square_version`|`String`| Square Connect API versions<br>*Default*: `'2023-03-15'`|
10
9
|`custom_url`|`String`| Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`<br>*Default*: `'https://connect.squareup.com'`|
11
10
|`environment`|`string`| The API environment. <br> **Default: `production`**|
12
11
|`connection`|`Faraday::Connection`| The Faraday connection object passed by the SDK user for making requests |
@@ -17,14 +16,16 @@ The following parameters are configurable for the API Client:
17
16
|`backoff_factor`|`Float`| The amount to multiply each successive retry's interval amount by in order to provide backoff. <br> **Default: 2**|
18
17
|`retry_statuses`|`Array`| A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]**|
19
18
|`retry_methods`|`Array`| A list of HTTP methods to retry. <br> **Default: %i[get put]**|
19
+
|`http_callback`|`HttpCallBack`| The Http CallBack allows defining callables for pre and post API calls. |
20
20
|`user_agent_detail`|`string`| User agent detail, to be appended with user-agent header. |
21
21
|`additional_headers`|`String`| Additional headers to add to each API request |
22
+
|`access_token`|`String`| The OAuth 2.0 Access Token to use for API requests. |
Copy file name to clipboardExpand all lines: doc/models/bank-account-payment-details.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 @@ Additional details about BANK_ACCOUNT type payments.
13
13
| --- | --- | --- | --- |
14
14
|`bank_name`|`String`| Optional | The name of the bank associated with the bank account.<br>**Constraints**: *Maximum Length*: `100`|
15
15
|`transfer_type`|`String`| Optional | The type of the bank transfer. The type can be `ACH` or `UNKNOWN`.<br>**Constraints**: *Maximum Length*: `50`|
16
-
|`account_ownership_type`|`String`| Optional | The ownership type of the bank account performing the transfer.<br>The type can be `INDIVIDUAL`, `COMPANY`, or `UNKNOWN`.<br>**Constraints**: *Maximum Length*: `50`|
16
+
|`account_ownership_type`|`String`| Optional | The ownership type of the bank account performing the transfer.<br>The type can be `INDIVIDUAL`, `COMPANY`, or `ACCOUNT_TYPE_UNKNOWN`.<br>**Constraints**: *Maximum Length*: `50`|
17
17
|`fingerprint`|`String`| Optional | Uniquely identifies the bank account for this seller and can be used<br>to determine if payments are from the same bank account.<br>**Constraints**: *Maximum Length*: `255`|
18
18
|`country`|`String`| Optional | The two-letter ISO code representing the country the bank account is located in.<br>**Constraints**: *Minimum Length*: `2`, *Maximum Length*: `2`|
19
19
|`statement_description`|`String`| Optional | The statement description as sent to the bank.<br>**Constraints**: *Maximum Length*: `1000`|
0 commit comments