US banking giant JPMorgan Chase will pay $1.7 billion to the victims of Bernard Madoff's Ponzi scheme under an agreement with prosecutors, a US Attorney announced Tuesday.