- Square Version:
2023-04-19
- Java:
28.0.0.20230419
- .NET:
26.0.0
- Node.js:
26.0.0
- PHP:
26.0.0.20230419
- Python:
26.0.0.20230419
- Ruby:
27.0.0.20230419
2023-04-19 Changelog
Square
Catalog API
Checkout API
Loyalty API
OAuth API
Orders API
Terminal API
Catalog API:
- CatalogCustomAttributeDefinition object. The
allowed_object_types
field now supportsMODIFIER
as an option, which enables the CatalogModifier object to support the specified custom attribute.
- CatalogCustomAttributeDefinition object. The
Checkout API:
- PaymentLink object. Added a new
long_url
field. Thelong_url
field shows the long version of URL in addition to the shortened version of theurl
field.
- PaymentLink object. Added a new
Loyalty API:
- SearchLoyaltyAccounts endpoint. The maximum number of results to include in a paged response changed from 30 to 200. This setting is controlled by the
limit
field. The default limit remains 30. This change applies to all Square API versions.
- SearchLoyaltyAccounts endpoint. The maximum number of results to include in a paged response changed from 30 to 200. This setting is controlled by the
OAuth API:
- The RetrieveTokenStatus endpoint is moved to general availability (GA). For more information, see Token Introspection.
Orders API:
OrderServiceChargeCalculationPhase enum. Added two new values for calculating apportioned service charges:
APPORTIONED_PERCENTAGE_PHASE
: the service charge is calculated after discounts, but before any amount-based apportioned service charges and taxes.APPORTIONED_AMOUNT_PHASE
: the service charge is calculated after any discounts and percentage-based apportioned service charges, and before taxes.
For more information, see Service charges.
Terminal API:
- TerminalCheckout object.
- Added support for money tipping, statement description identifier, team member identification, and canceling or completing a payment after a delayed capture duration has elapsed.
- Removed the
FAILED
read-only status description from thedelay_duration
field. TheCANCELED
andCOMPLETED
status descriptions remain for thedelay_duration
field.
- TerminalCheckout object.