Skip to content

Commit 4cd79ba

Browse files
Update CHANGELOG.md
1 parent e29644f commit 4cd79ba

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## Version 5.1.0.20200325 (2020-03-25)
4+
## Existing API updates
5+
* **[Payments API](${SQUARE_TECH_REF}/payments-api).** In support of the existing [Delayed capture](payments-api/take-payments) for payments, the following fields are added to the [Payment](${SQUARE_TECH_REF}/objects/Payment) type:
6+
* `delay_duration`. In a [CreatePayment](${SQUARE_TECH_REF}/payments-api/create-payment) 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](payments-api/take-payments).
7+
* `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.
8+
* `delayed_until`. Provides the date and time on Square servers when Square applies `delay_action` on the payment.
9+
310
## Version 5.0.0.20200226 (2020-02-26)
411
## API releases
512
* **GA release**: All SDKs have been updated to support the new Bank Accounts and CashDrawerShifts APIs.

0 commit comments

Comments
 (0)