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/api/apple-pay.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
@@ -19,7 +19,7 @@ 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
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).
22
+
[Add the Apple Pay on the Web Button](../../https://developer.squareup.com/docs/payment-form/add-digital-wallets/apple-pay).
23
23
24
24
```python
25
25
defregister_domain(self,
@@ -30,11 +30,11 @@ def register_domain(self,
30
30
31
31
| Parameter | Type | Tags | Description |
32
32
| --- | --- | --- | --- |
33
-
|`body`|[`Register Domain Request`](/doc/models/register-domain-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
33
+
|`body`|[`Register Domain Request`](../../doc/models/register-domain-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
*[List Bank Accounts](/doc/api/bank-accounts.md#list-bank-accounts)
14
-
*[Get Bank Account by V1 Id](/doc/api/bank-accounts.md#get-bank-account-by-v1-id)
15
-
*[Get Bank Account](/doc/api/bank-accounts.md#get-bank-account)
13
+
*[List Bank Accounts](../../doc/api/bank-accounts.md#list-bank-accounts)
14
+
*[Get Bank Account by V1 Id](../../doc/api/bank-accounts.md#get-bank-account-by-v1-id)
15
+
*[Get Bank Account](../../doc/api/bank-accounts.md#get-bank-account)
16
16
17
17
18
18
# List Bank Accounts
19
19
20
-
Returns a list of [BankAccount](/doc/models/bank-account.md) objects linked to a Square account.
20
+
Returns a list of [BankAccount](../../doc/models/bank-account.md) objects linked to a Square account.
21
21
22
22
```python
23
23
deflist_bank_accounts(self,
@@ -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`|`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. |
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
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. |
36
36
37
37
## Response Type
38
38
39
-
[`List Bank Accounts Response`](/doc/models/list-bank-accounts-response.md)
39
+
[`List Bank Accounts Response`](../../doc/models/list-bank-accounts-response.md)
40
40
41
41
## Example Usage
42
42
@@ -56,7 +56,7 @@ elif result.is_error():
56
56
57
57
# Get Bank Account by V1 Id
58
58
59
-
Returns details of a [BankAccount](/doc/models/bank-account.md) identified by V1 bank account ID.
59
+
Returns details of a [BankAccount](../../doc/models/bank-account.md) identified by V1 bank account ID.
|`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). |
70
+
|`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). |
71
71
72
72
## Response Type
73
73
74
-
[`Get Bank Account by V1 Id Response`](/doc/models/get-bank-account-by-v1-id-response.md)
74
+
[`Get Bank Account by V1 Id Response`](../../doc/models/get-bank-account-by-v1-id-response.md)
75
75
76
76
## Example Usage
77
77
@@ -89,7 +89,7 @@ elif result.is_error():
89
89
90
90
# Get Bank Account
91
91
92
-
Returns details of a [BankAccount](/doc/models/bank-account.md)
92
+
Returns details of a [BankAccount](../../doc/models/bank-account.md)
93
93
linked to a Square account.
94
94
95
95
```python
@@ -105,7 +105,7 @@ def get_bank_account(self,
105
105
106
106
## Response Type
107
107
108
-
[`Get Bank Account Response`](/doc/models/get-bank-account-response.md)
108
+
[`Get Bank Account Response`](../../doc/models/get-bank-account-response.md)
To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope.
79
+
To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope.
80
80
To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope.
81
81
82
82
```python
@@ -88,11 +88,11 @@ def create_booking(self,
88
88
89
89
| Parameter | Type | Tags | Description |
90
90
| --- | --- | --- | --- |
91
-
|`body`|[`Create Booking Request`](/doc/models/create-booking-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
91
+
|`body`|[`Create Booking Request`](../../doc/models/create-booking-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
|`body`|[`Search Availability Request`](/doc/models/search-availability-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
134
+
|`body`|[`Search Availability Request`](../../doc/models/search-availability-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope.
316
+
To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope.
317
317
To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope.
318
318
319
319
```python
@@ -326,12 +326,12 @@ def update_booking(self,
326
326
327
327
| Parameter | Type | Tags | Description |
328
328
| --- | --- | --- | --- |
329
-
|`booking_id`|`string`| Template, Required | The ID of the [Booking](/doc/models/booking.md) object representing the to-be-updated booking. |
330
-
|`body`|[`Update Booking Request`](/doc/models/update-booking-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
329
+
|`booking_id`|`string`| Template, Required | The ID of the [Booking](../../doc/models/booking.md) object representing the to-be-updated booking. |
330
+
|`body`|[`Update Booking Request`](../../doc/models/update-booking-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope.
362
+
To call this endpoint with buyer-level permissions, set `APPOINTMENTS_WRITE` for the OAuth scope.
363
363
To call this endpoint with seller-level permissions, set `APPOINTMENTS_ALL_WRITE` and `APPOINTMENTS_WRITE` for the OAuth scope.
364
364
365
365
```python
@@ -372,12 +372,12 @@ def cancel_booking(self,
372
372
373
373
| Parameter | Type | Tags | Description |
374
374
| --- | --- | --- | --- |
375
-
|`booking_id`|`string`| Template, Required | The ID of the [Booking](/doc/models/booking.md) object representing the to-be-cancelled booking. |
376
-
|`body`|[`Cancel Booking Request`](/doc/models/cancel-booking-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
375
+
|`booking_id`|`string`| Template, Required | The ID of the [Booking](../../doc/models/booking.md) object representing the to-be-cancelled booking. |
376
+
|`body`|[`Cancel Booking Request`](../../doc/models/cancel-booking-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
|`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>See [Pagination](https://developer.squareup.com/docs/basics/api101/pagination) for more information. |
37
+
|`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>See [Pagination](../../https://developer.squareup.com/docs/basics/api101/pagination) for more information. |
38
38
|`customer_id`|`string`| Query, Optional | Limit results to cards associated with the customer supplied.<br>By default, all cards owned by the merchant are returned. |
39
39
|`include_disabled`|`bool`| Query, Optional | Includes disabled cards.<br>By default, all enabled cards owned by the merchant are returned.<br>**Default**: `False`|
40
40
|`reference_id`|`string`| Query, Optional | Limit results to cards associated with the reference_id supplied. |
41
-
|`sort_order`|[`str (Sort Order)`](/doc/models/sort-order.md)| Query, Optional | Sorts the returned list by when the card was created with the specified order.<br>This field defaults to ASC. |
41
+
|`sort_order`|[`str (Sort Order)`](../../doc/models/sort-order.md)| Query, Optional | Sorts the returned list by when the card was created with the specified order.<br>This field defaults to ASC. |
|`body`|[`Create Card Request`](/doc/models/create-card-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
78
+
|`body`|[`Create Card Request`](../../doc/models/create-card-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
0 commit comments