package Ġcom . example . mp gs android app . api Ċ Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . POST Ċ import Ġretrofit 2 . http . PUT Ċ import Ġcom . example . mp gs android app . models . Get Payment Response Ċ import Ġcom . example . mp gs android app . models . Get Session Response Ċ Ċ interface ĠMiddleware Api Ġ{ ĊĊĠĠĠ Ġ@ POST (" star tp ayment ") ĊĠĠĠ Ġfun Ġstart Payment (): ĠCall < Get Session Response > ĊĊĠĠĠ Ġ@ PUT (" finish payment ") ĊĠĠĠ Ġfun Ġfinish Payment ( ĊĠĠĠĠĠĠĠ Ġ@ Body Ġid : ĠString ĊĠĠĠ Ġ): ĠCall < Get Payment Response > Ċ Ċ }