Exclude detection

how to exclude if the request contains /checkout/?_redirect_to_payment=

We are seeing this currently
/checkout/?_redirect_to_payment=173532&_redirect_hash=46a7190436

HTTP 403 Forbidden