{"section":"tutorials","requestedLocale":"en","requestedSlug":"setting-up-payments-with-99pay","locale":"en","slug":"setting-up-payments-with-99pay","path":"docs/en/tutorials/payments/payment-settings/setting-up-payments-with-99pay.md","branch":"main","content":"At VTEX, it is possible to integrate with the 99Pay payment provider. With this provider, your store can make sales through 99Pay.\n\nTo configure 99Pay, follow the steps below:\n\n1. In the VTEX Admin, go to __Store Settings > Payment > Providers__, or type __Providers__ in the search bar at the top of the page.\n2. On the providers screen, click the `New Provider` button.\n3. Type the name __99Pay__ in the search bar and click on the name of the provider.\n4. Fill in the __Application Key__ and __Application Token__ fields with data provided by 99Pay.\n5. In the __Payment settlement__ field, select one of the available options:\n\n    - __Use Behavior Recommended By The Payment Processor__: capture is not automatic; it is scheduled according to the period specified by the acquirer. The acquirer indicates whether the payment has been authorized and can determine or recommend a number of days for the capture upon payment authorization.\n    - __Immediate: Automatic Settlement After Payment Authorization__: capture is automatically performed right after payment authorization, even if the transaction includes an anti-fraud analysis.\n    - __Immediate: Automatic Settlement After Anti-Fraud Analysis__:  Capture is automatically performed right after payment authorization and anti-fraud analysis. If you select this behavior and do not have anti-fraud analysis, the system will perform the payment capture as in __Immediate: Automatic Settlement After Payment Authorization__.\n    - __Scheduled: Schedules The Automatic Settlement__: By selecting this option, the field __Scheduled time frame in hours for automatic settlement__ will be displayed, and it must be completed with the period in which the automatic capture will take place. This period must be in accordance with the limits allowed by the payment provider.\n    - __Deactivated: Not Automatically Captured__: capture takes place only when the order is invoiced. If you select this behavior, it is important to pay attention to the invoicing time, as invoicing can exceed the capture time agreed with the payment provider and lead to the cancellation of the transaction.\n\n<ui>  6. If an alert message appears indicating the need to install the app, click on the **Install app** button and follow the installation instructions.</ui>\n\n<ui>  7. Click on **Save.**</ui>\n\n## Setting up payment condition \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. In the __Payment Conditions__ tab, click on the `+` button.\n3. Click the __99Pay__ payment method.\n4. Activate the condition in the __Status__ field.\n5. If you want to use an anti-fraud system, select the option __Use anti-fraud__.\n6. If you wish, you can also configure [payment special conditions](/en/docs/tutorials/special-conditions).\n7. Click on `Save`.\n\nAfter following the indicated steps, 99Pay connector may take up to 10 minutes to appear at your store's checkout as a payment option."}