Question about a theme with lead gen feature

Hey guys, is there a directory theme that has a feature where on my directory website professionals are charged a fee automatically for each appointment booked?

(Their clients won’t process the payments on my website, just the professionals)

I can’t find one like this. I would appreciate your help, thank you!