# delayDuration

val delayDuration: Long?

The duration of time after the payment's creation when Square either completes or cancels the payment automatically depending on the delayAction field value, expressed in milliseconds here and truncated to minutes in the payment request.

Note: This feature is only supported for card payments. This parameter can only be set for a delayed capture payment (autocomplete=false). If autocomplete=true or a non-card payment (e.g. cash) is attempted, this parameter is ignored.

Default:

- Card-present payments: 36 hours from the creation time.

- Card-not-present payments: 7 days from the creation time.