- Square Version:
2020-03-25 - Java:
5.1.0.20200325 - .NET:
5.1.0 - Node.js:
3.20200325.0 - PHP:
3.20200325.0 - Python:
5.1.0.20200325 - Ruby:
5.1.0.20200325
2020-03-25 Changelog
Square
Payments API
- 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 setautocompleteto 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 thedelay_durationelapses. In this release, the API supports only the cancel payment action.delayed_until. Provides the date and time on Square servers when Square appliesdelay_actionon the payment.
- Catalog API. Custom Attributes BETA launch includes:
custom_attribute_definition_data. New field in CatalogObjects for custom attribute structured data.CatalogCustomAttributeDefinition. A new datatype that defines a custom attribute.CatalogCustomAttributeValue. A new datatype that represents an instance of a custom attribute within an item or item variation.