A couple of TurboTax functional questions

Hi, first timer here. Hope someone can help me with a couple of TurboTax functional questions:

  1. I e-filed the 2022 tax, paid the amount I owed to fed. tax. Later it was rejected. I corrected the mistake and it turned out I got a refund. The question is what happens to the tax I have already paid via my credit card? The payment I made still shows pending on my credit card account, btw.
  2. The 2nd question is after I e-filed my taxes, is there a way in TurboTax to help me to figure out my 2023 estimated state tax payments?

Thank in advance for helping.