Pecker says he discussed the reimbursement for the McDougal deal with Cohen after AMI laid out the money.
Pecker says he asked Cohen "on a number of occasions" how the company would be reimbursed.
The former tabloid executive says he wanted the repayment before September 30, when the company's quarter ended. He wanted the "proper true ups" on the various accounts at AMI, Pecker adds.
Pecker says he was explaining to Cohen why he kept discussing the issue of repayment.
"I wanted to explain to him why it was so important to be reimbursed," Pecker told the court.
"Why worry? I’m your friend. The boss will take care of it," Pecker says Cohen would respond.
Earlier in his testimony, Pecker said Cohen referred to Trump as "the boss."