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
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Register Domain Response`](../../doc/models/register-domain-response.md).
Copy file name to clipboardExpand all lines: doc/api/bank-accounts.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ def list_bank_accounts(self,
30
30
31
31
| Parameter | Type | Tags | Description |
32
32
| --- | --- | --- | --- |
33
-
|`cursor`|`string`| Query, Optional | The pagination cursor returned by a previous call to this endpoint.<br>Use it in the next `ListBankAccounts` request to retrieve the next set<br>of results.<br><br>See the [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination) guide for more information. |
33
+
|`cursor`|`str`| Query, Optional | The pagination cursor returned by a previous call to this endpoint.<br>Use it in the next `ListBankAccounts` request to retrieve the next set<br>of results.<br><br>See the [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination) guide for more information. |
34
34
|`limit`|`int`| Query, Optional | Upper limit on the number of bank accounts to return in the response.<br>Currently, 1000 is the largest supported limit. You can specify a limit<br>of up to 1000 bank accounts. This is also the default limit. |
35
-
|`location_id`|`string`| Query, Optional | Location ID. You can specify this optional filter<br>to retrieve only the linked bank accounts belonging to a specific location. |
35
+
|`location_id`|`str`| Query, Optional | Location ID. You can specify this optional filter<br>to retrieve only the linked bank accounts belonging to a specific location. |
36
36
37
37
## Response Type
38
38
39
-
[`List Bank Accounts Response`](../../doc/models/list-bank-accounts-response.md)
39
+
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`List Bank Accounts Response`](../../doc/models/list-bank-accounts-response.md).
|`v1_bank_account_id`|`string`| Template, Required | Connect V1 ID of the desired `BankAccount`. For more information, see<br>[Retrieve a bank account by using an ID issued by V1 Bank Accounts API](https://developer.squareup.com/docs/bank-accounts-api#retrieve-a-bank-account-by-using-an-id-issued-by-v1-bank-accounts-api). |
67
+
|`v1_bank_account_id`|`str`| Template, Required | Connect V1 ID of the desired `BankAccount`. For more information, see<br>[Retrieve a bank account by using an ID issued by V1 Bank Accounts API](https://developer.squareup.com/docs/bank-accounts-api#retrieve-a-bank-account-by-using-an-id-issued-by-v1-bank-accounts-api). |
68
68
69
69
## Response Type
70
70
71
-
[`Get Bank Account by V1 Id Response`](../../doc/models/get-bank-account-by-v1-id-response.md)
71
+
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Get Bank Account by V1 Id Response`](../../doc/models/get-bank-account-by-v1-id-response.md).
72
72
73
73
## Example Usage
74
74
@@ -99,11 +99,11 @@ def get_bank_account(self,
99
99
100
100
| Parameter | Type | Tags | Description |
101
101
| --- | --- | --- | --- |
102
-
|`bank_account_id`|`string`| Template, Required | Square-issued ID of the desired `BankAccount`. |
102
+
|`bank_account_id`|`str`| Template, Required | Square-issued ID of the desired `BankAccount`. |
103
103
104
104
## Response Type
105
105
106
-
[`Get Bank Account Response`](../../doc/models/get-bank-account-response.md)
106
+
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Get Bank Account Response`](../../doc/models/get-bank-account-response.md).
|`limit`|`int`| Query, Optional | The maximum number of results to return in a single paged response. This limit is advisory.<br>The response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.<br>The default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
44
-
|`cursor`|`string`| Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request.<br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
44
+
|`cursor`|`str`| Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request.<br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`List Booking Custom Attribute Definitions Response`](../../doc/models/list-booking-custom-attribute-definitions-response.md).
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Create Booking Custom Attribute Definition Response`](../../doc/models/create-booking-custom-attribute-definition-response.md).
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Delete Booking Custom Attribute Definition Response`](../../doc/models/delete-booking-custom-attribute-definition-response.md).
|`key`|`string`| Template, Required | The key of the custom attribute definition to retrieve. If the requesting application<br>is not the definition owner, you must use the qualified key. |
162
+
|`key`|`str`| Template, Required | The key of the custom attribute definition to retrieve. If the requesting application<br>is not the definition owner, you must use the qualified key. |
163
163
|`version`|`int`| Query, Optional | The current version of the custom attribute definition, which is used for strongly consistent<br>reads to guarantee that you receive the most up-to-date data. When included in the request,<br>Square returns the specified version or a higher version if one exists. If the specified version<br>is higher than the current version, Square returns a `BAD_REQUEST` error. |
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Retrieve Booking Custom Attribute Definition Response`](../../doc/models/retrieve-booking-custom-attribute-definition-response.md).
|`key`|`string`| Template, Required | The key of the custom attribute definition to update. |
204
+
|`key`|`str`| Template, Required | The key of the custom attribute definition to update. |
205
205
|`body`|[`Update Booking Custom Attribute Definition Request`](../../doc/models/update-booking-custom-attribute-definition-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Update Booking Custom Attribute Definition Response`](../../doc/models/update-booking-custom-attribute-definition-response.md).
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Bulk Delete Booking Custom Attributes Response`](../../doc/models/bulk-delete-booking-custom-attributes-response.md).
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Bulk Upsert Booking Custom Attributes Response`](../../doc/models/bulk-upsert-booking-custom-attributes-response.md).
|`booking_id`|`string`| Template, Required | The ID of the target [booking](entity:Booking). |
354
+
|`booking_id`|`str`| Template, Required | The ID of the target [booking](entity:Booking). |
355
355
|`limit`|`int`| Query, Optional | The maximum number of results to return in a single paged response. This limit is advisory.<br>The response might contain more or fewer results. The minimum value is 1 and the maximum value is 100.<br>The default value is 20. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
356
-
|`cursor`|`string`| Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request. For more<br>information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
356
+
|`cursor`|`str`| Query, Optional | The cursor returned in the paged response from the previous call to this endpoint.<br>Provide this cursor to retrieve the next page of results for your original request. For more<br>information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
357
357
|`with_definitions`|`bool`| Query, Optional | Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of each<br>custom attribute. Set this parameter to `true` to get the name and description of each custom<br>attribute, information about the data type, or other definition details. The default value is `false`.<br>**Default**: `False`|
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`List Booking Custom Attributes Response`](../../doc/models/list-booking-custom-attributes-response.md).
|`booking_id`|`string`| Template, Required | The ID of the target [booking](entity:Booking). |
404
-
|`key`|`string`| Template, Required | The key of the custom attribute to delete. This key must match the `key` of a custom<br>attribute definition in the Square seller account. If the requesting application is not the<br>definition owner, you must use the qualified key. |
403
+
|`booking_id`|`str`| Template, Required | The ID of the target [booking](entity:Booking). |
404
+
|`key`|`str`| Template, Required | The key of the custom attribute to delete. This key must match the `key` of a custom<br>attribute definition in the Square seller account. If the requesting application is not the<br>definition owner, you must use the qualified key. |
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Delete Booking Custom Attribute Response`](../../doc/models/delete-booking-custom-attribute-response.md).
|`booking_id`|`string`| Template, Required | The ID of the target [booking](entity:Booking). |
450
-
|`key`|`string`| Template, Required | The key of the custom attribute to retrieve. This key must match the `key` of a custom<br>attribute definition in the Square seller account. If the requesting application is not the<br>definition owner, you must use the qualified key. |
449
+
|`booking_id`|`str`| Template, Required | The ID of the target [booking](entity:Booking). |
450
+
|`key`|`str`| Template, Required | The key of the custom attribute to retrieve. This key must match the `key` of a custom<br>attribute definition in the Square seller account. If the requesting application is not the<br>definition owner, you must use the qualified key. |
451
451
|`with_definition`|`bool`| Query, Optional | Indicates whether to return the [custom attribute definition](entity:CustomAttributeDefinition) in the `definition` field of<br>the custom attribute. Set this parameter to `true` to get the name and description of the custom<br>attribute, information about the data type, or other definition details. The default value is `false`.<br>**Default**: `False`|
452
452
|`version`|`int`| Query, Optional | The current version of the custom attribute, which is used for strongly consistent reads to<br>guarantee that you receive the most up-to-date data. When included in the request, Square<br>returns the specified version or a higher version if one exists. If the specified version is<br>higher than the current version, Square returns a `BAD_REQUEST` error. |
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Retrieve Booking Custom Attribute Response`](../../doc/models/retrieve-booking-custom-attribute-response.md).
|`booking_id`|`string`| Template, Required | The ID of the target [booking](entity:Booking). |
503
-
|`key`|`string`| Template, Required | The key of the custom attribute to create or update. This key must match the `key` of a<br>custom attribute definition in the Square seller account. If the requesting application is not<br>the definition owner, you must use the qualified key. |
502
+
|`booking_id`|`str`| Template, Required | The ID of the target [booking](entity:Booking). |
503
+
|`key`|`str`| Template, Required | The key of the custom attribute to create or update. This key must match the `key` of a<br>custom attribute definition in the Square seller account. If the requesting application is not<br>the definition owner, you must use the qualified key. |
504
504
|`body`|[`Upsert Booking Custom Attribute Request`](../../doc/models/upsert-booking-custom-attribute-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
This method returns a `ApiResponse` instance. The `body` property of this instance returns the response data which is of type [`Upsert Booking Custom Attribute Response`](../../doc/models/upsert-booking-custom-attribute-response.md).
0 commit comments