an object(i.e. request.query) must contain these keys and with keys they must have truthy values
const invoice_query_params = [
                'invoice_id',
                'invoice_receipt',
                'invoice_status',
                'payment_id',
                'signature' 
            ];
    
invoice_query_params.every(param => req.query.hasOwnProperty(param)