implement mongodb mapping for payment details