2022-09-21 Changelog

Square
Gift Card Activities API
Invoices API
OAuth API
Connect v1
DEPRECATED
Documentation
Link to section

Version summary

Link to section

Details

Link to section

API updates

  • Gift Card Activities API:

    • GiftCardActivityAdjustDecrementReason enumeration. Added the PURCHASE_WAS_REFUNDED reason. This reason applies when using an ADJUST_DECREMENT activity to decrease the gift card balance after refunding an order that was used to purchase or reload the gift card.
  • Invoices API:

    • Invoice object. Added the store_payment_method_enabled field. This field enables customers to choose to save a card on file or bank account on file from the invoice payment page.
  • OAuth API:

    • ObtainToken endpoint. The following fields are removed from the response:
      • app_subscription_id
      • app_plan_id
  • Connect V1 APIs:

    • In the Connect V1 API, some of the deprecated endpoint names conflict with similar names in the Square API. For that reason, the following Connect V1 endpoints have been renamed:

      APIOld endpointsNew endpoints
      PaymentsListPayments
      RetrievePayment
      V1ListPayments
      V1RetrievePayment
      RefundsListRefunds
      CreateRefund
      V1ListRefunds
      V1CreateRefund
      SettlementsListSettlements
      RetrieveSettlement
      V1ListSettlements
      V1RetrieveSettlement
      WebhooksListWebhooks
      UpdateWebhooks
      V1ListWebhooks
      V1UpdateWebhooks

      These endpoints are for backward compatibility only. Square strongly discourages using Connect V1 APIs in most cases.

  • Various APIs:

    • Support for null field clearing is now available for the following API objects:
      • Customer
      • Order
      • Location
      • Invoice
      • Subscription
      • TeamMember
      • Vendor
Link to section

SDKs

Link to section

Documentation updates