Skip to content

Releases: square/square-java-sdk

Version 8.0.0.20201216

16 Dec 18:29
0fe8a7a
Compare
Choose a tag to compare

Version 8.0.0.20201216 (2020-12-16T00:00)

Existing API updates

New SDK release

Documentation updates

Version 7.0.0.20201118

18 Nov 18:46
4a16584
Compare
Choose a tag to compare

New API releases

  • Bookings API (beta). This API enables you, as an application developer, to create applications to set up and manage bookings for appointments of fixed duration in which selected staff members of a Square seller provide specified services in supported locations for particular customers.

Existing API updates

  • Payments API:
    • Payment. The object now includes the risk_evaluation field to identify the Square-assigned risk level associated with the payment. Sellers can use this information to provide the goods and services or refund the payment.

New SDK release

Documentation Updates

Version 6.5.0.20201028

28 Oct 19:14
1069b6d
Compare
Choose a tag to compare

Version 6.5.0.20201028 (2020-10-28T00:00)

Existing API updates

Version 6.4.0.20200923 (2020-09-23)

23 Sep 18:46
99b29df
Compare
Choose a tag to compare

Existing API updates

  • Invoices API (beta)
    • InvoiceStatus enum. Added the PAYMENT_PENDING value. Previously, the Invoices API returned a PAID or PARTIALLY_PAID status for invoices in a payment pending state. Now, the Invoices API returns a PAYMENT_PENDING status for all invoices in a payment pending state, including those previously returned as PAID or PARTIALLY_PAID.
  • Payments API
    • ListPayment. The endpoint now supports the limit parameter.
  • Refunds API
  • DeviceDetails. The object now includes the device_installation_id field.

Documentation updates

  • Payment status. Added details about the Payment.status changes and how the status relates to the seller receiving the funds.
  • Refund status. Added details about the PaymentRefund.status changes and how the status relates to the cardholder receiving the funds.
  • CreateRefund errors. Added documentation for the REFUND_DECLINED error code.

Version 6.3.0.20200826 (2020-08-26)

26 Aug 16:27
39fef0d
Compare
Choose a tag to compare

Existing API updates

  • Orders API
    • Order object. The total_tip_money field is now GA.
    • CreateOrder, UpdateOrder, and BatchRetrieveOrders. These APIs now support merchant-scoped endpoints (for example, the CreateOrder endpoint POST /v2/orders). The location-scoped variants of these endpoints (for example, the CreateOrder endpoint POST /v2/locations/{location_id}/orders) continue to work, but these endpoints are now deprecated. You should use the merchant-scoped endpoints (you provide the location information in the request body).
  • Labor API
    • Migrate from Employees to Team Members. The Employees API is now deprecated in this release. Accordingly, update references to the Shift.employee_id field to the Shift.team_member_id field of the Labor API.
  • v2 Employees API (deprecated)
  • v1 Employees API (deprecated)

Documentation updates

  • Point of Sale API
  • Team API
    • Team API Overview. Documented the limitation related to creating a team member in the Square Sandbox.

All SDKs

SDK technical reference documentation:

  • Nulls in SDK documentation example code are replaced with example values.

.NET SDK

Bug fixes:

  • The APIException.Errors property was not set on instantiation. Behavior is now corrected to instantiate the class with an empty Errors list.

Version 6.2.0.20200812 (2020-08-12)

12 Aug 16:59
255183b
Compare
Choose a tag to compare

API releases

Existing API updates

SqPaymentForm SDK updates

Documentation updates

Version 6.1.0.20200722 (2020-07-22)

22 Jul 16:57
85f3485
Compare
Choose a tag to compare

API releases

Existing API updates

  • Catalog API

  • Locations API

  • Merchants API

  • Orders API

    • PricingOptions. You can now enable the auto_apply_discounts of the options to have rule-based discounts automatically applied to an Order that is pre-configured with a pricing rule.
  • Inventory API

    • Replaced 500 error on max string length exceeded with a max length error message. Max length attribute added to string type fields.
  • Terminal API (beta)

    • TerminalCheckout object. The TerminalCheckoutCancelReason field is renamed to ActionCancelReason.

Documentation updates

Version 6.0.0.20200625 (2020-06-25)

25 Jun 16:03
361113c
Compare
Choose a tag to compare

New API release

Existing API updates

  • Catalog API
    • Pricing is now GA. It allows an application to configure catalog item pricing rules for the specified discounts to apply automatically.
  • Payments API

Version 5.3.0.20200528 (2020-05-28)

28 May 16:06
6adeda2
Compare
Choose a tag to compare

API releases

Existing API updates

  • Orders API

    • CalculateOrder (beta) endpoint. Use the endpoint to calculate adjustments (for example, taxes and discounts) to an order for preview purposes. In response, the endpoint returns the order showing the calculated totals. You can use this endpoint with an existing order or an order that has not been created.

    The endpoint does not update an existing order. It only returns a calculated view of the order that you provided in the request. To create or update an order, use the CreateOrder and UpdateOrder endpoints, respectively.

    • Order type. Two fields are added in support of the Loyalty API integration. For more information, see Deferred reward creation. For an example, see Redeem Points.
      • Order.rewards represents rewards added to an order by calling the CreateLoyaltyReward endpoint.
      • Order.discount.reward_ids indicates that a discount is the result of the specified rewards that were added to an order using the CreateLoyaltyReward endpoint.
  • Customers API

    • The Search Customers endpoint supports search by email address, phone number, and reference ID with the following additional query filters:

    • The created_at, updated_at, and id attributes on the Customer resource are updated to be optional. As a result, they no longer are required input parameters when you call the Square SDKs to create a Customer object. You might need to update the dependent SDKs to the latest version to mediate breaking your existing code.

Square Webhooks

Version 5.2.2.20200422 (2020-04-25)

25 Apr 18:15
8c0ac78
Compare
Choose a tag to compare

Existing API updates

  • OAuth API
    • Obtain Token endpoint: Removed the scopes property from the request body.