Wow, this seems to be just what I meant. Unfortunately it appears it is so far only widely supported by Indian banks. (In Germany there is a similar system, called GiroPay, but it hasn't really caught on yet. And it isn't even intended as an international solution.)