Visa Inc. (V) and Mastercard Inc. (MA) , the two big U.S. credit-card payment networks, said sales surged last quarter amid strong holiday spending by consumers.

Visa, based in Foster City, Calif., said in a statement Thursday that net income climbed 22% from a year earlier to $2.52 billion, as revenue rose by 9% to $4.86 billion. Excluding gains and charges stemming from the new tax law passed in December, the company's adjusted earnings per share were $1.08, exceeding the 98-cent average estimate of analysts in a FactSet survey.

Mastercard, based in Purchase, New York, said separately Thursday that revenue rose 20% in the quarter from a year earlier. Net income fell by 76% to $227 million, mostly due to an $873 million charge related to the tax act. Excluding special gains and charges, net income climbed by 28% to $1.2 billion, or $1.14 a share, according to the statement. That figure exceeded the $1.12 average estimate in a FactSet survey.

Visa CEO Alfred Kelly said in the statement that his company saw "healthy growth in all key business drivers across the globe."

"In particular, momentum accelerated in the U.S., driven by strong holiday spending and e-commerce growth," he said. 

MasterCard also benefited from from "strong" holiday sales, CEO Ajay Banga told stock analysts on a conference call Thursday.

Visa shares rose 1.2% to $125.72 on Thursday. MasterCard gained 2.33% to $172.93.

More of What's Trending on TheStreet:

More from Investing

Cannabis Could Disrupt the Lucrative Market for Painkillers

Cannabis Could Disrupt the Lucrative Market for Painkillers

Cannabis-Related Products Could Your Dog's Best Friend (And Your Portfolio's)

Cannabis-Related Products Could Your Dog's Best Friend (And Your Portfolio's)

Chart of the Day: Tilray Is Worth More Than Goodyear and Xerox Combined

Chart of the Day: Tilray Is Worth More Than Goodyear and Xerox Combined

'Animal Spirits' Are Moving the Market Now

'Animal Spirits' Are Moving the Market Now

Reefer Madness Is Spreading Even as Tilray Cools Down

Reefer Madness Is Spreading Even as Tilray Cools Down