Pairing interactions with various density dependencies (surface/volume mixing) are constrained with the two-neutron separation energy in the tin isotopic chain. The response associated with pairing vibrations in very neutron-rich nuclei is sensitive to the density dependence of the pairing interaction. Using the same pairing interaction in nuclear matter and in tin nuclei, the optimal range of densities relevant for the pairing channel is also studied.