How to join dhan demate account with p& exit api

p&L based exit kaisa kara

plz help me