Configuration#

  • Configuration class. Should be passed to FreekassaApi class.


Usage example#

from pyfreekassa import Configuration, Nonce

Configuration.configure(
    merchant_id = 123,
    first_secret = "abc",
    second_secret = "def", 
    wallet_api_key = "qwerty123",
    nonce_generation_method = Nonce.Methods.TXT,
    nonce_path = "nonce.txt"
)