Police Commissioner James O’Neill will head Visa’s physical security when he leaves the NYPD next month, the credit card company said in a statement Tuesday.

O’Neill, who announced his retirement from the department on Monday, will be in charge of the corporation’s global physical and personnel security in the more than 200 countries where it operates, according to the statement.

He will replace the current director, who is retiring after more than 15 years in the position.

“His decades-long expertise in law enforcement, investigations and operations makes him an outstanding choice for this critical area for Visa,” Lewis Love, Visa’s SVP of Global Corporate Services said of O’Neill.

O’Neill announced his resignation on Monday — a little more than three years after he was appointed as the city’s 43rd top cop.

“I came into this job with one mission, and that was to fight crime and keep everybody safe,” O’Neill said in a speech announcing his retirement from the department. “And we did it, and we continue to do it.”

Current Chief of Detectives Dermot Shea will replace O’Neill on Dec. 1.

Additional reporting by Ben Feuerherd