...
To make the query passable and successfully update the Gateway API key, you need to contact Salesforce and request to Index the possible fields inside the query (e.g. Payment Status).
Note: Here’s a /wiki/spaces/POSINT/pages/33030212on how to log a Salesforce Support Request.