Paying by credit card is sometimes a multi-step process. In some of those cases, only the initial authorization is made at the point of sale; the finalized transactions are usually entered as a batch at the end of each business day.
In the United States, for service (as opposed to goods) transactions, the finalized charge in that situation is often different from the initial authorization amount, as it includes any tip that the customer may have left.
In such cases, does the restaurant's credit card system typically store the customer's credit card information after the initial authorization until the charge is finalized? If so, for how long is it typically stored? If not, how is the business able to change the amount charged to the card?