calling betable api to get the final row and payout