github square/square-java-sdk 17.0.0.20211117
Version 17.0.0.20211117

latest releases: 41.2.0.20241017, 41.1.0.20240919, 41.0.0.20240821...
2 years ago

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 Card is added as a child of the data.object field 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 PAUSE action.
    • The new SwapPlan endpoint supports changing the subscription plan associated with a single customer. Calling this endpoint schedules a new SWAP_PLAN action.
    • 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 RESUME action.
    • The CancelSubscription endpoint now schedules a new CANCEL action.
    • Added an optional include body parameter to the SearchSubscriptions endpoint. Include actions in the request to return all actions associated with the subscriptions.

Documentation Update

  • Migration Guides.

    Code that relies on these V1 API endpoints must be updated to avoid breaking when these APIs reach

Don't miss a new square-java-sdk release

NewReleases is sending notifications on new releases.