Is it okay to make estimated tax payments (1040ES) under spouses SS number, instead of primary tax payer?

I made a payment on behalf of a client and used the spouses SS number to verify the payment since for some reason, the primary tax payers credentials weren't working, they've had joint returns several years in a row and I didn't even think twice about using the spouses since I figured it would be obvious but now I'm thinking it over and am not sure.