All sales by dealers are recorded by the Department of Justice. There is a mandatory 30 day waiting period between purchases of handguns.
Some states require that a citizen acquires a permit, before they purchase a gun. If it is required, there will be a fee that varies from state to state. Some states also require finger printing, and background checks before issuing the permit.