Version 17.0.0.20211117 (2021-11-17)
API updates
-
Cards API. The Card object and webhook response body for all webhooks are updated updated with fields.
- Added the Card.merchant_id field to identify the Square seller that stored the payment card on file.
- Added a Card object to the response bodies of all Cards API webhooks. The
Cardis added as a child of thedata.objectfield in all webhook responses.
-
Bookings API. The new ListBookings endpoint supports browsing a collection of bookings of a seller. For more information, see Use the Bookings API: list bookings.
-
Subscriptions API. Introduced the new actions framework representing scheduled, future changes to subscriptions.
- The new PauseSubscription endpoint supports temporarily pausing a subscription. Calling this endpoint schedules a new
PAUSEaction. - The new SwapPlan endpoint supports changing the subscription plan associated with a single customer. Calling this endpoint schedules a new
SWAP_PLANaction. - The new DeleteSubscriptionAction endpoint supports deleting a scheduled action.
- The ResumeSubscription endpoint has been updated to support resuming a paused subscription. Calling this endpoint schedules a new
RESUMEaction. - The CancelSubscription endpoint now schedules a new
CANCELaction. - Added an optional
includebody parameter to the SearchSubscriptions endpoint. Includeactionsin the request to return all actions associated with the subscriptions.
- The new PauseSubscription endpoint supports temporarily pausing a subscription. Calling this endpoint schedules a new
Documentation Update
-
Migration Guides.
- Migrate from the Connect V1 Refunds API. The topic is updated to include information to migrate from the v1 ListRefunds endpoint to the appropriate Square API counterparts.
- Migrate from the Connect V1 Payments API. The topic provides developers information to migrate from the Connect V1 Payments API to the appropriate Square API counterparts.
Code that relies on these V1 API endpoints must be updated to avoid breaking when these APIs reach