make the start payment an api