In order to get users, who have agreed to any consents during checkout within the last 24 hours (by using the respective timestamps for the parameters spent_money_from and spent_money_until), you can use the following Piano API request:
https://api.piano.io/api/v3/publisher/user/search?api_token=xxx&aid=XYZ&has_access=true&access_to_resources=RO8CZIW&offset=0&limit=1000&spent_from_date=1591047322&spent_until_date=1598996122&spent_money_from=0&spent_money_until=1000&consent_checked=true&selected_consents_map=123456ABC&consent_has_data=true
You need to add the consent_has_data=true parameter, and inside the parameter selected_consents_map you should be providing the consent_id and not the field_id. If you have multiple consent fields, you would need to action multiple requests.
All available base URLs for Production are listed here.