Tenant paying deposit then cancelling

A tenant has paid me a holding deposit and signed agreement then two days later says he doesn’t want to have it now. How do I apply to keep the holding deposit

Did he pay you directly or through Openrent?