How to call a javascript function which is inside a jquery function?

How to call a javascript function which is inside a jquery function?

Below is the structure

  1. $.fn.CreatePayment= function() {

  2. ......

  3. function overpay(money){

  4. }

  5. };

How do I invoke the overpay function ??  

Appreciate help on this