Jacob deGrom finally got paid, just two days before opening day.

The reigning National League Cy Young winner and the New York Mets agreed to a five-year, $137.5 million extension, a person with direct knowledge of the extension confirmed to USA TODAY Sports.

The person spoke only on the condition of anonymity because the deal is pending a physical.

SNY first reported the extension.

The deal begins in 2019 and includes an opt-out after the 2022 season -- the same year as Boston Red Sox's Chris Sales' opt-out.

NIGHTENGALE: Mets had no choice but to pay deGrom

NIGHTENGALE: Payroll disparity causes concern

2019 MLB SALARIES: Team-by-team

He will earn $7 million in 2019, including a $10 million signing bonus, followed by $23 million in 2020, $33.5 million in 2021-22, $30.5 million in 2023 with a club option in 2024.

DeGrom had an unprecedented 2018 season. He finished with a minuscule 1.70 ERA, sixth lowest among qualifiers since the mound was lowered to its current height in 1969.

His 10 victories was the lowest win total ever for a starting Cy Young winner. Seattle Mariners pitcher Felix Hernandez had 13 victories when he won the 2010 AL Cy Young.