|
40 | 40 | ## Existing API updates |
41 | 41 |
|
42 | 42 | * **OAuth API** |
43 | | - * [Obtain Token](https://developer.squareup.com/reference/square_2020-04-22/oauth-api/obtain-token) endpoint: Removed the `scopes` property from the request body. |
| 43 | + * [Obtain Token](https://developer.squareup.com/reference/square/oauth-api/revoke-token) endpoint: Removed the `scopes` property from the request body. |
44 | 44 |
|
45 | 45 | ## Version 5.2.1.20200422 (2020-04-22) |
46 | 46 | ## API releases |
|
53 | 53 | ## API releases |
54 | 54 | * **Terminal API.** The new Terminal API lets a custom third-party POS app integrate with the Square Terminal to send terminal checkout requests to collect payments. |
55 | 55 | * For an overview, see [Overview](/terminal-api/overview). |
56 | | - * For technical reference, see [Terminal API](${SQUARE_TECH_REF}/terminal-api). |
| 56 | + * For technical reference, see [Terminal API](https://developer.squareup.com/reference/square/terminal-api). |
57 | 57 |
|
58 | | -* **Devices API.** The new Devices API lets a custom third-party POS app generate a code used to sign in to a Square Terminal to create a pairing that lets the POS app send terminal checkout requests. For technical reference, see [Devices API](${SQUARE_TECH_REF}/devices-api). |
| 58 | +* **Devices API.** The new Devices API lets a custom third-party POS app generate a code used to sign in to a Square Terminal to create a pairing that lets the POS app send terminal checkout requests. For technical reference, see [Devices API](https://developer.squareup.com/reference/square/devices-api). |
59 | 59 |
|
60 | 60 | * **Customer Groups API (beta).** The new Customer Groups API (Beta) enables full CRUD management of customer groups, including the ability to list, retrieve, create, update, and delete customer groups. Previously, this functionality was only available through the Square dashboard and point-of-sale product interfaces. |
61 | 61 | * For an overview, see [Overview](/customer-groups-api/what-it-does) |
62 | | - * For technical reference, see [Customer Groups](${SQUARE_TECH_REF}/customer-groups-api). |
| 62 | + * For technical reference, see [Customer Groups](https://developer.squareup.com/reference/square/customer-groups-api). |
63 | 63 |
|
64 | 64 | * **Customer Segments API (beta).** The new Customer Segments API (Beta) lets you list and retrieve customer segment (also called smart groups) information. Coupled with the new `segment_ids` field on the customer resource, this API lets you better understand and track the customer segments to which a customer belongs. |
65 | 65 | * For an overview, see [Overview](/customer-segmentss-api/what-it-does) |
66 | | - * For technical reference, see [Customer Segments]( ${SQUARE_TECH_REF}/customer-segments-api). |
| 66 | + * For technical reference, see [Customer Segments]( https://developer.squareup.com/reference/square/customer-segments-api). |
| 67 | + |
67 | 68 |
|
68 | | - |
69 | 69 | * **New webhooks.** v2 Webhooks (beta) now supports webhooks for the following APIs: |
70 | 70 | * Orders API. `order.created`, `order.updated`, and `order.fulfillment.updated` |
71 | 71 | * Terminal API. `terminal.checkout.created` and `terminal.checkout.updated` |
|
75 | 75 |
|
76 | 76 | ## Existing API updates |
77 | 77 | * **Customers API** |
78 | | - * [AddGroupToCustomer](${SQUARE_TECH_REF}/customers-api/add-group-to-customer) endpoint. Added to add customer memberships to a customer group. |
79 | | - * [RemoveGroupFromCustomer](${SQUARE_TECH_REF}/customers-api/remove-group-from-customer) endpoint. Added to remove customer memberships from a customer group. |
80 | | - * [Customer](${SQUARE_TECH_REF}/obects/Customer) object. Updated as follows: |
81 | | - * [`group_ids`](${SQUARE_TECH_REF}/obects/Customer#definition__property-group_ids) field. Added to designate groups the customer is in. |
82 | | - * [`segment_ids`](${SQUARE_TECH_REF}/obects/Customer#definition__property-segment_ids) field. Added to designate segments the customer is in. |
83 | | - * [`groups`](${SQUARE_TECH_REF}/obects/Customer#definition__property-groups) field. Deprecated to be replaced by `group_ids` and `segment_ids`. It remains supported for one year from this release. |
84 | | - * [CustomerQuery](${SQUARE_TECH_REF}/objects/CustomerQuery) object's `filter` parameter. Updated as follows: |
| 78 | + * [AddGroupToCustomer](https://developer.squareup.com/reference/square/customers-api/add-group-to-customer) endpoint. Added to add customer memberships to a customer group. |
| 79 | + * [RemoveGroupFromCustomer](https://developer.squareup.com/reference/square/customers-api/remove-group-from-customer) endpoint. Added to remove customer memberships from a customer group. |
| 80 | + * [Customer](https://developer.squareup.com/reference/square/obects/Customer) object. Updated as follows: |
| 81 | + * [`group_ids`](https://developer.squareup.com/reference/square/obects/Customer#definition__property-group_ids) field. Added to designate groups the customer is in. |
| 82 | + * [`segment_ids`](https://developer.squareup.com/reference/square/obects/Customer#definition__property-segment_ids) field. Added to designate segments the customer is in. |
| 83 | + * [`groups`](https://developer.squareup.com/reference/square/obects/Customer#definition__property-groups) field. Deprecated to be replaced by `group_ids` and `segment_ids`. It remains supported for one year from this release. |
| 84 | + * [CustomerQuery](https://developer.squareup.com/reference/square/objects/CustomerQuery) object's `filter` parameter. Updated as follows: |
85 | 85 | * `group_ids` filter. Added to search for customers based on whether they belong to any, all, or none of the specified groups. |
86 | 86 |
|
87 | 87 |
|
88 | 88 | * **Orders API** |
89 | | - * [OrderFulfillmentPickupDetails](${SQUARE_TECH_REF}/objects/OrderFulfillmentPickupDetails) type updated to support curbside pickup: |
| 89 | + * [OrderFulfillmentPickupDetails](https://developer.squareup.com/reference/square/objects/OrderFulfillmentPickupDetails) type updated to support curbside pickup: |
90 | 90 | * `is_curbside_pickup`. This Boolean field indicates curbside pickup. |
91 | 91 | * `CurbsidePickupDetails`. This type provides supporting information for curbside pickup, including a buyer description (for example, "buyer is in a red car") and a timestamp when the buyer arrived for the pickup. |
92 | 92 |
|
93 | 93 |
|
94 | 94 | * **OAuth API** |
95 | | - * [RevokeToken](${SQUARE_TECH_REF}/oauth-api/revoke-token) endpoint. Added a new field called [revoke_only_access_token](${SQUARE_TECH_REF}/oauth-api/revoke-token#request__property-revoke_only_access_token). This field allows a client to revoke an access token but leave the parent authorization active. |
96 | | - * [ObtainToken](${SQUARE_TECH_REF}/oauth-api/obtain-token) endpoint. Added a new field called [scopes](${SQUARE_TECH_REF}/oauth-api/obtain-token#request__property-scopes). This field lets a client change the set of permissions for an access token when making a request to refresh the token. |
| 95 | + * [RevokeToken](https://developer.squareup.com/reference/square/oauth-api/revoke-token) endpoint. Added a new field called [revoke_only_access_token](https://developer.squareup.com/reference/square/oauth-api/revoke-token#request__property-revoke_only_access_token). This field allows a client to revoke an access token but leave the parent authorization active. |
| 96 | + * [ObtainToken](https://developer.squareup.com/reference/square/oauth-api/obtain-token) endpoint. Added a new field called [scopes](https://developer.squareup.com/reference/square/oauth-api/obtain-token#request__property-scopes). This field lets a client change the set of permissions for an access token when making a request to refresh the token. |
97 | 97 |
|
98 | 98 |
|
99 | 99 | * **Catalog API** |
100 | | - * [CatalogQuickAmountsSettings](${SQUARE_TECH_REF}/objects/CatalogQuickAmountsSettings) type. Added to support predefined custom payment amounts in the Square Register checkout dialog box. |
| 100 | + * [CatalogQuickAmountsSettings](https://developer.squareup.com/reference/square/objects/CatalogQuickAmountsSettings) type. Added to support predefined custom payment amounts in the Square Register checkout dialog box. |
101 | 101 | * ENUM`CatalogItemProductType`. The ENUM value `GIFT_CARD` is now deprecated. |
102 | 102 |
|
103 | 103 | * **Payments API.** See [Take Payments and Collect Fees](/payments-api/take-payments-and-collect-fees) for updated information about permission requirements, Square reporting of the application fee collected by an app, and how to collect fees internationally. |
104 | 104 |
|
105 | 105 | ## Version 5.1.0.20200325 (2020-03-25) |
106 | 106 | ## Existing API updates |
107 | | -* **[Payments API](${SQUARE_TECH_REF}/payments-api).** In support of the existing [Delayed capture](payments-api/take-payments) for payments, the following fields are added to the [Payment](${SQUARE_TECH_REF}/objects/Payment) type: |
108 | | - * `delay_duration`. In a [CreatePayment](${SQUARE_TECH_REF}/payments-api/create-payment) request, you can set `autocomplete` to false to get payment approval but not charge the payment source. You can now add this field to specify a time period to complete (or cancel) the payment. For more information, see [Delay capture](payments-api/take-payments). |
| 107 | +* **[Payments API](https://developer.squareup.com/reference/square/payments-api).** In support of the existing [Delayed capture](payments-api/take-payments) for payments, the following fields are added to the [Payment](https://developer.squareup.com/reference/square/objects/Payment) type: |
| 108 | + * `delay_duration`. In a [CreatePayment](https://developer.squareup.com/reference/square/payments-api/create-payment) request, you can set `autocomplete` to false to get payment approval but not charge the payment source. You can now add this field to specify a time period to complete (or cancel) the payment. For more information, see [Delay capture](payments-api/take-payments). |
109 | 109 | * `delay_action`. Defines the action that Square takes on the payment when the `delay_duration` elapses. In this release, the API supports only the cancel payment action. |
110 | 110 | * `delayed_until`. Provides the date and time on Square servers when Square applies `delay_action` on the payment. |
111 | 111 |
|
@@ -148,9 +148,9 @@ All SDKs have been updated to support the following changes: |
148 | 148 | ## Version 4.0.0.20191217 (2019-12-17) |
149 | 149 | * Square is excited to announce the public release of customized SDK for Java |
150 | 150 |
|
151 | | -* __GA release:__ SDKs updated to support new `receipt_url` and `receipt_number` fields added to the [Payment](${SQUARE_TECH_REF}/objects/Payment) type. |
| 151 | +* __GA release:__ SDKs updated to support new `receipt_url` and `receipt_number` fields added to the [Payment](https://developer.squareup.com/reference/square/objects/Payment) type. |
152 | 152 |
|
153 | 153 | * __Beta release:__ SDKs updated to support the new [CashDrawerShifts](cashdrawershift-api/reporting) API. |
154 | 154 |
|
155 | | -* Square now follows the semantic versioning scheme for all SDKs except PHP and Node.js. This versioning scheme uses three numbers to delineate MAJOR, MINOR, and PATCH versions of our SDK. In addition, the SDK version also includes the API version so you know what Square API version the SDK is related to. For more information, see [Versioning and SDKs](build-basics/versioning-overview#versioning-and-sdks). |
| 155 | +* Square now follows the semantic versioning scheme for all SDKs except PHP and Node.js. This versioning scheme uses three numbers to delineate MAJOR, MINOR, and PATCH versions of our SDK. In addition, the SDK version also includes the API version so you know what Square API version the SDK is related to. For more information, see [Versioning and SDKs](build-basics/versioning-overview#versioning-and-sdks). |
156 | 156 | * Java, .Net, Python, and Ruby SDKs are now version 4.0.0. Java and .Net SDKs have breaking changes in version 4.0.0. Ruby and Python do not have breaking changes. |
0 commit comments