Which details to keep depends on what you're using it for
The lab report a hospital gives a patient lists only each measure, its normal range and an up or down arrow, and hides everything about how the machines measured it. For a patient who wants to know which result is high, that's enough; for the lab that needs to check whether a machine has drifted, it has to dig out the raw curves and quality-control records, and this sheet is no help.
Only when the interface is fully written can you safely swap what's inside
The socket in the wall promises a plug shape and a voltage, and that promise is the interface. A rice cooker only cares about those two things; whatever is done to the circuit board inside makes no difference. If the promise left out the maximum power, and someone plugged in a high-power appliance, it would be the wiring inside the wall that burned. An interface has to spell out what goes in, what comes out, and what happens when something goes wrong.
Details that change for the same reason go in the same module
When the code that talks to the bank is scattered across five places, orders, refunds, reconciliation, reports and customer service, then every time the bank changes its protocol, five places have to change. Gather the bank details into one payment module, and have everywhere else ask it only for "succeeded," "failed" and the amount, and the same change touches just one place. Change the person in charge or the supplier, and the other parts carry on working to the original agreement.
This approach works most smoothly when each part changes on its own and the parts rarely pull on each other, such as replaceable suppliers and software services. When the product's direction changes every week, fixing interfaces early turns untested guesses into rules both sides have to keep. Interfaces can also hide what matters most: if a buyer only looks at the certificate of conformity the supplier sends with the goods and never tests samples, then the day the certificate says the goods pass while the goods are faulty, this interface misses the case that matters most.