How does a person use credit to make a purchase?

by leaving a deposit with the seller

by making a promise to pay at some point in the future

by giving the cashier a handful of cash