ajax req for square checkin v.2