Install this package with pip
pip install free-kassa-py
from freekassa import FreeKassaApi
client = FreeKassaApi(
first_secret='first_secret_key',
second_secret='second_secret_key',
merchant_id='merchant_id',
wallet_id='wallet_id')
balance = client.get_balance()
order = client.get_order(order_id, int_id)
payment_link = client.generate_payment_link(order_id, summ, email, description)
data = client.export_order(status, date_from, date_to, limit, offest)
withdraw = client.withdraw(amount, currency)
invoice = client.invoice(email, amount, description)
wallet_balance = client.get_wallet_balance()
wallet_withdraw = client.wallet_withdraw(purse, amount, currency, description, disable_exchange)
operation_status = client.get_operation_status(payment_id)
transfer = client.transfer_money(purse, amount)
payment = client.online_payments(ervice_id, account, amount)
services = client.get_online_services()
payment_status = client.get_online_payment_status(payment_id)
btc_wallet = client.create_btc_address()
ltc_wallet = client.create_ltc_address()
eth_wallet = client.create_eth_address()
btc_wallet_address = client.get_btc_address()
ltc_wallet_address = client.get_ltc_address()
eth_wallet_address = client.get_eth_address()
btc_transaction = client.get_btc_transaction(transaction_id)
ltc_transaction = client.get_ltc_transaction(transaction_id)
eth_transaction = client.get_eth_transaction(transaction_id)