Changes for api send tip functions