adjusts on payment and created payment detail to fetch details of one payment