LOS ANGELES (CBS) — Trading in your old cell phone for the latest technology can be expensive, but now there’s an eco-friendly way to get cash for your electronics.

READ MORE: Kings Lose To Flames 3-2, Markstrom Makes 40 Saves

The ECO ATM, which can be found in malls across Southern California, pays customers for old cell phones and electronic gadgets.

The machine identifies devices and give an initial cash offer. The customer is then asked to plug the phone or product into the machine for diagnostic testing, at which point a final offer is given.

READ MORE: Statements From Los Angeles Community College District and California Community Colleges Chancellor’s Office

The customer’s driver’s license is then scanned so an in-store credit can be issued. Users can also choose to have the funds donated to charity.

The phones are then re-sold to be refurbished or recycled in an environmentally responsible manner.

ECO ATM is backed by the same company that operates Red Box and Coinstar.

MORE NEWS: First Case Of Omicron Variant Detected In LA County

To find a kiosk near you, visit ECO ATM.