The foci are at
and
.
The slopes of the asymptotes are
.
Since the
coordinates of foci are same, the hyperbola has a vertical transverse axis.
The standard form of hyperbola with vertical transverse axis is
.
Where,
\
,
Center :
,
Vertices :
,
Foci :
,
Transverse axis :
,
Conjugate axis :
,
Eccentricity :
.
Asymptotes :
.
The center is the mid point of the foci.
\
.
The slopes of the asymptotes :
.
So, 
.
.
Substitute the values
,
, and
in standard form of hyperbola.

.
The equation of hyperbola is
.