The three-dimensional Fermi-surface morphology of superconducting BaFe2(As0.37P0.63)2 with T(c)=9 K is determined using the de Haas-van Alphen effect. The inner electron pocket has a similar area and k(z) interplane warping to the observed hole pocket, revealing that the Fermi surfaces are geometrically well nested in the (π,π) direction. These results are in stark contrast to the fermiology of the nonsuperconducting phosphides (x=1), and therefore suggest an important role for nesting in pnictide superconductivity.