added the stripe api in layout