Whether you win or lose a race, your final race points will always be added to the Race Crate bar in the home menu. When you have 100 race points you will receive a Race Crate.