< Back to changelog

2020-03-25 Changelog

Square Payments API Merchants API

Version Summary


  • Square API platform. The Square API Technical Reference now lists all possible error codes for each API endpoint.

  • Payments API. In support of the existing Delayed capture for payments, the following fields are added to the Payment type:

    • delay_duration. In a CreatePayment request, you can set autocomplete to false to get payment approval but not charge the payment source. You can now add this field to specify a time period to complete (or cancel) the payment. For more information, see Delay capture.

    • delay_action. Defines the action that Square takes on the payment when the delay_duration elapses. In this release, the API supports only the cancel payment action.

    • delayed_until. Provides the date and time on Square servers when Square applies delay_action on the payment.

  • Merchants API. Fixed an error in the ListMerchants example response.

  • Catalog API. Added CatalogCustomAttributeDefinition (Beta) and CatalogCustomAttributeValue (Beta) to store additional information about a ITEM or ITEM_VARIATION object.

We've made improvements to our docs.
Prefer the old format?