- Square Version:
2024-12-18 - Java:
42.1.0.20241218 - .NET:
39.1.0 - Node.js:
39.1.0 - PHP:
39.1.0.20241218 - Python:
39.1.0.20241218 - Ruby:
40.1.0.20241218 - Go:
1.0.0.20241218
2024-12-18 Changelog
- Go SDK:
- New Go SDK provides access to Square APIs in a language-idiomatic way. Download the SDK package and read the quickstart guide to get started.
Customers API:
Customer object - The
cardsfield will be retired in Square API version 2025-01-23. This field is replaced by theListCardsandListGiftCardsendpoints with thecustomer_idquery parameter.Note that the retirement date for the deprecated
CreateCustomerCardandDeleteCustomerCardendpoints isn't currently scheduled, but you should migrate to the Cards API and Gift Cards API as soon as possible. For more information, see Migration notes.
GraphQL:
- Square GraphQL queries now support the Payouts graph (Alpha). See an example query.
Payments API:
- CreatePayment endpoint - New
buyer_phone_numberfield. - ListPayments endpoint - New
updated_at_begin_time,updated_at_end_time, andsort_fieldfilters that can be used to filter the results by the payment'supdated_atfield.
- CreatePayment endpoint - New
Team API:
- New Job object and job management endpoints (Beta):
- TeamMember object - New
wage_settingfield (Beta), which provides direct access to a team member's overtime exemption status and job and compensation information usingTeamMemberendpoints (instead ofRetrieveWageSettingorUpdateWageSetting). - JobAssignment object - New
job_idfield (Beta), which now serves as the unique job identifier instead ofjob_title.
For more information about using these new Team API features, see Integration Guide.
Terminal API:
- CreateTerminalCheckout endpoint - New
QR_CODEenum value forpayment_type, which allows the Square Terminal to support a single QR code payment that integrates with multiple Japanese digital wallet brands. - CheckoutOptionsPaymentType enum - Deprecates the
PAYPAYenum value. TheQR_CODEenum value now supports PayPay as well as other digital wallets.
- CreateTerminalCheckout endpoint - New
Square SDKs:
- Reorganized the Square SDKs overview page for easy access to each SDK package and GitHub repos, and added information about mobile and frontend SDKs.
- Removed the Stay Current with SDK Version topic for each SDK. This content is now present on each SDK landing page.
Point of Sale API:
- Offline Mode - Added a Requirements and limitations section to clarify how to maintain a Bluetooth connection and a secure connection to take payments while offline.
Web Payments SDK:
- Integrate Digital Wallets with the Web Payments SDK - Removed the note that Apple Pay and Google Pay already comply with SCA. Developers are encouraged to implement SCA for all digital wallet payments.
Learn about versioning for the Square API and SDKs.