I’m flattered.

(お世辞だとわかっているけど)ありがとう

Ex

  • Thank you, I’m flattered.

Reference source

  • http://www.eikaiwanow.com/blog/flatter