add pay interface
Merge pull request #19 from Gavin-AG/master

pay interface