There is a little meter by your in game ball, showing the duration of life left.
When you purchase balls they also have a 'duration' level.
Each hit of the ball loses a bit of its life, except when on the green.
But yeah, lotsa money for a few pixels huh!