# autocomplete

val autocomplete: Boolean

If set to `true`, this payment will be completed when possible. If set to `false`, this payment is held in an approved state until either explicitly completed or canceled.

When set to `false` for card payments, the delayAction and delayDuration fields can be used to configure automatic completion or cancellation of the payment after a specified duration.

Payments can also be completed using PaymentManager.completePayment or canceled using the Square Payments API. See Cancel payment.

Only one of autocomplete and acceptPartialAuthorization can be true. They can NOT both be true.