{"section":"tutorials","requestedLocale":"en","requestedSlug":"configuring-maximum-automatic-payment-settlement-time-frame","locale":"en","slug":"configuring-maximum-automatic-payment-settlement-time-frame","path":"docs/en/tutorials/payments/payment-settings/configuring-maximum-automatic-payment-settlement-time-frame.md","branch":"main","content":"Firstly, it is important to understand the difference between three similar concepts used by payment providers on the platform, __settlement after payment confirmation__, __automatic settlement__ and __payment with anticipated settlement authorization__.\n\n> ⚠️ The following information is valid for payments with credit cards.\n\n## Settlement after payment confirmation\n\nSettlement after payment confirmation is a VTEX internal [transaction flow](/en/docs/tutorials/transaction-flow-in-payments) stage that occurs after a customer has paid for an order, without direct customer involvement.\n\nWhen an order is billed and its products are pending picking by the carrier, the gateway system triggers a settlement. This settlement happens because the order status is updated to show that payment has been successfully processed.\n\n## Payment with anticipated settlement authorization\n\nPayment with anticipated settlement authorization is an optional feature that allows retailers to establish that payment settlement will take place before the automatic settlement triggered by VTEX.\n\nIt is important to emphasize that the anticipated settlement authorization will only happen after the analysis of anti-fraud provider, if the client has this service.\n\n## Automatic settlement\n\nThis is a security measure used to prevent payment authorization from not being made. \n\nWhen the authorization process begins, the system waits for a previously set maximum time limit to trigger the automatic settlement. This maximum time frame does not include the anti-fraud provider validation period.\n\nThe retailer and the acquirer agree on the time frame for the automatic settlement to be triggered. \n\n> ℹ️ The maximum time frame set for payment settlement is usually four days. However, this is **not** a rule. Each acquirer can define the period they find most appropriate.\n\nSee below an example of how to perform the above settings:\n\n1. In the VTEX Admin, go to **Store Settings** > **Payment** > **Settings**, or type **Settings** in the search bar at the top of the page.\n2. On the providers screen, click the `New Provider` button.\n3. Type the name of the provider in the search bar and click on it.\n4. In **Provider Authorization**, fill in the **App key** and **App token** fields with your account information with the provider.\n5. If you wish to modify the identification name to be displayed for the desired provider on the VTEX Admin screen, enter the information in the **Name** field in **Basic Information**.\n6. Fill in the fields available on the form.\n7. In the **Captura antecipada (em horas)** (Payment with anticipated capture authorization) field, select one of the available time options.\n8. Fill in the **Alterar tempo máximo para captura** (Change maximum time for automatic payment capture) field with the period agreed with the acquirer. If you leave this field blank, the default time of 4 days will be considered.\n9. Click `Save`."}