Square v2.8.0 Release Notes
Release Date: 2018-05-24 // almost 6 years ago-
โก๏ธ We have added sorting functionality to the Connect v2 Customer API, updated the Connect v1 Payments API to include information about surcharges and ๐ improvements to the Item data type.
๐ New feature: Customer API (Connect v2)
- ListCustomers endpoint — now provides the ability to sort
customers by their creation date using the
sort_field
andsort_order
parameters.
๐ New features: Payments API (Connect v1)
The Payments API now returns information about surcharges applied to payments. The new functionality introduces the following new data types:
- SurchargeMoney datatype — The total of all surcharges applied to the payment.
- Surcharges datatype — A list of all surcharges associated with the payment.
- Surcharge datatype — A surcharge that is applied to the payment. One example of a surcharge is auto-gratuity, which is a fixed-rate surcharge applied to every payment, often based on party size.
We are constantly evaluating new languages to add. In the meantime, if the ๐ language you need is not supported, you can use our [Swagger pipeline](<%= articles__client_libraries_path%>#generatingwithswagger) to generate a custom SDK or continue sending JSON to the endpoint URLs directly.
๐ Improvement: Item (Connect v1)
Item will now provide two new properties:
category_id
— indicates if an item can be added to pickup orders from the merchant's online storeavailable_for_pickup
— indicates the item's category (if any).
- ListCustomers endpoint — now provides the ability to sort
customers by their creation date using the