What came back from the payment?
Each of these is retried differently, and some aren't retried at all. Read the resultCode on the response, or the HTTP status when there's no transaction.
Your answers so far
Choose one
What to build
What this means for PCI
This is guidance rather than a compliance determination. Which questionnaire you are eligible for depends on your full environment, so confirm it with your QSA or your acquirer before you rely on it.