- Square Version:
2023-01-19 - Java:
27.1.0.20230119 - .NET:
25.1.0 - Node.js:
25.1.0 - PHP:
25.1.0.20230119 - Python:
25.1.0.20230119 - Ruby:
26.1.0.20230119
2023-01-19 Changelog
Square
Gift Card Activities API
Location Custom Attributes API
OAuth API
BETA
Documentation
- Location Custom Attributes API (beta):
- The Location Custom Attributes API enables developers to create and manage custom attributes for locations.
Gift Card Activities API:
- GiftCardActivity object. Added the read-only
transfer_balance_to_activity_detailsandtransfer_balance_from_activity_detailsfields that contain information aboutTRANSFER_BALANCE_TOandTRANSFER_BALANCE_FROMactivities. Square creates these activities when a buyer transfers money between gift cards linked to their Square profile.
- GiftCardActivity object. Added the read-only
OAuth API:
- Authorize endpoint. Added support for dynamic ports to create a redirect URL for the PKCE flow. For more information, see Use dynamic ports for PKCE redirect URLs.
- Working with Addresses. Clarified that addresses are a subtype of objects (such as
LocationorCustomer) and are not stored independently of these objects. - Keep Customer Records. Described how resources associated with a customer profile are affected when a customer profile is deleted.
- Custom Attributes Overview. Added locations to the list of APIs supporting custom attributes and included a table with details about data types common to all custom attribute APIs.