I got the same scamming call. Two things tipped me off:
1. They insisted they stay on the line while I go send the payment and 2. They wanted me to send payment using a method the government wouldn’t use. Otherwise they did sound kind of official and knew a fair number of details.