@kepas/daraja-js
    Preparing search index...

    Function validateAmount

    • Validate a transaction amount and return it unchanged.

      Parameters

      • amount: number

      Returns number

      if the value is not a positive whole number.