Our new pre-payment webhook functionality sends a request to an endpoint of your choosing right before FoxyCart would otherwise submit the payment to the payment gateway, and allows for stores to apply custom validations for transactions prior to the request being set to the chosen payment method. Please visit our Pre-payment Webhook documentation for more information and setup instructions.