Square SDK 2.5.1 Release (2017-11-02)

Release Summary

We've released version 2.5 of our SDK client libraries. Version 2.5 includes new functionality for the Transactions API and endpoints for a new Reporting API.

All the new SDKs are available on GitHub:

We are constantly evaluating new languages to add. In the meantime, if the language you need is not supported, you can use our Swagger specification to generate a custom SDK or continue sending JSON to the endpoint URLs directly.

New features

Transactions API

Square Connect SDK v2.5 includes updated functionality for the Transactions API related to the launch of multi-party transactions:

  • AdditionalRecipient — data type representing an additional recipient (in other words, a recipient other than the merchant or Square) receiving a portion of a tender.

For more information on how multi-party transactions work, we suggest reading the Splitting Payments section of the Transactions API Overview.

Reporting API

Square Connect SDK v2.5 includes a new API client for the Reporting API, which includes two endpoints:

  • AdditionalRecipientReceivables — returns a list of receivables (across all source locations) representing monies credited to the given location ID by another Square account using the additional_recipients field in a transaction.
  • AdditionalRecipientReceivablesRefunds — returns a list of refunded transactions (across all source locations) related to monies credited to the given location ID by another Square account using the additional_recipients field in a transaction.

For more information on the Reporting API, we suggest reading the Reporting API Technical Reference.

Ask for help on Stack Overflow or join our Slack channel