Version 11.0.0.20210513 (2021-05-13)
New API releases
-
Sites API. The Sites API lets you retrieve basic details about the Square Online sites that belong to a Square seller. For more information, see Sites API Overview.
-
Snippets API. The Snippets API lets you manage snippets that provide custom functionality on Square Online sites. A snippet is a script that is injected into all pages on a site, except for checkout pages. For more information, see Snippets API Overview.
The Sites API and Snippets API are publicly available to all developers as part of an early access program (EAP). For more information, see Early access program for Square Online APIs.
API updates
-
Payments API.
- CreatePayment. The endpoint now supports ACH bank transfer payments. For more information, see ACH Payment.
-
Loyalty API:
-
The Loyalty API has moved to the general availability (GA) state.
-
The ListLoyaltyPrograms endpoint is deprecated and replaced by the RetrieveLoyaltyProgram endpoint when used with the
main
keyword. -
LoyaltyAccount object. The
mappings
field is retired and replaced bymapping
. -
LoyaltyAccountMapping object. The
type
andvalue
fields are retired and replaced byphone_number
.Starting in Square version 2021-05-13:
mappings
is not accepted inCreateLoyaltyAccount
requests or returned in responses.type
andvalue
are not accepted inCreateLoyaltyAccount
orSearchLoyaltyAccounts
requests or returned in responses.
For more information, see Migration notes.
-
Documentation updates
- Getting Started Added step that shows how to use the API Logs to examine a t