- Square Version:
2022-09-21
- Java:
24.0.0.20220921
- .NET:
22.0.0
- Node.js:
22.0.0
- PHP:
22.0.0.20220921
- Python:
22.0.0.20220921
- Ruby:
23.0.0.20220921
2022-09-21 Changelog
Square
Gift Card Activities API
Invoices API
OAuth API
Connect v1
DEPRECATED
Documentation
Gift Card Activities API:
- GiftCardActivityAdjustDecrementReason enumeration. Added the
PURCHASE_WAS_REFUNDED
reason. This reason applies when using anADJUST_DECREMENT
activity to decrease the gift card balance after refunding an order that was used to purchase or reload the gift card.
- GiftCardActivityAdjustDecrementReason enumeration. Added the
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.
- Invoice object. Added the
OAuth API:
- ObtainToken endpoint. The following fields are removed from the response:
app_subscription_id
app_plan_id
- ObtainToken endpoint. The following fields are removed from the response:
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:
API Old endpoints New endpoints Payments ListPayments
RetrievePaymentV1ListPayments
V1RetrievePaymentRefunds ListRefunds
CreateRefundV1ListRefunds
V1CreateRefundSettlements ListSettlements
RetrieveSettlementV1ListSettlements
V1RetrieveSettlementWebhooks ListWebhooks
UpdateWebhooksV1ListWebhooks
V1UpdateWebhooksThese 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
- Support for
- Square Python SDK:
is_valid_webhook_event_signature
method. Added for webhooks signature validation. For the code sample, see Webhook event notification validation - Python.
- V2 Webhook Events Reference. Added the Permission column to show the permissions required for using each Square API.