PayFanout API reference
    Preparing search index...
    • Integer minor units -> PayPal decimal string. Pure string/integer math — no floats. Also accepts the currencies PayPal has retired (RUB), so amounts of payments made in them earlier still convert; PAYPAL_SUPPORTED_CURRENCIES is what a new payment may use.

      Parameters

      • minor: number
      • currency: string

      Returns string