The United States did enforce a boycott of Mexican oil for thirty years.
Slightly off-topic, but no, despite some hotheaded calls for a boycott by some in the U.S., and a short diplomatic break with the British, and a few months when the Mexicans played hardball, sending a few tankerloads to the Germans (real hardball, given Mexico's officially anti-fascist stance), and threatening to hire Soviet engineers, everything went relatively smoothly. For one thing, the U.S. -- and the British needed the oil. Even before Mexico entered the war (after tankers were sunk by U-boats in May 1942), it was supplying oil to the allies. After entering the war, much of the nationalization debt was written off in exchange for selling the oil below market prices.
Paying compensation was made a matter of national pride. A propaganda photo at the time shows the first lady contributing her wedding ring to a collection raised to pay the bills.
International arbitration set the final bill and terms of repayment. The U.S. and Dutch owners were paid off ahead of schedule, the British (being jerks about the whole thing) had to wait -- but still a year ahead of schedule.