The duration of time after the payment's creation when Square automatically cancels the
payment. This automatic cancellation applies only to payments that do not reach a terminal state
(COMPLETED, CANCELED, or FAILED) before the
delay_duration time period.
This parameter should be specified as a time duration, in RFC 3339 format, with a minimum value
of 1 minute.
Note: This feature is only supported for card payments. This parameter can only be set for a delayed
capture payment (
- Card-present payments: "PT36H" (36 hours) from the creation time.
- Card-not-present payments: "P7D" (7 days) from the creation time.
Example for 2 days, 12 hours, 30 minutes, and 15 seconds: P2DT12H30M15S