Particular customer payment entry fetch

I want to get a total of submitted payment entry paid amount of particular customer how it’s possible through client script

Any idea about this topic?