PayFanout API reference
    Preparing search index...

    Function fromPayPalValue

    • PayPal decimal string -> integer minor units, per-currency exponent table. Also accepts the currencies PayPal has retired (RUB), so amounts of payments made in them earlier still read; PAYPAL_SUPPORTED_CURRENCIES is what a new payment may use.

      Parameters

      • value: string
      • currency: string

      Returns number