add new method for friends api and payment api