Skip to main content

FreeKassa python 3 client

Project description

FreeKassa API client

Installation

Install this package with pip

pip install free-kassa-py

Usage

Check balance

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()

Check order

order = client.get_order(order_id, int_id)

Generate payment link

payment_link = client.generate_payment_link(order_id, summ, email, description)

Export orders to xml

data = client.export_order(status, date_from, date_to, limit, offest)

Withdraw money

withdraw = client.withdraw(amount, currency)

Invoicing

invoice = client.invoice(email, amount, description)

Get wallet balance

wallet_balance = client.get_wallet_balance()

Withdraw money from wallet

wallet_withdraw = client.wallet_withdraw(purse, amount, currency, description, disable_exchange)

Get wallet operation status

operation_status = client.get_operation_status(payment_id)

Transfer money to another wallet

transfer = client.transfer_money(purse, amount)

Payment for online services

payment = client.online_payments(ervice_id, account, amount)

Get list of services for online payment

services = client.get_online_services()

Check status online payment

payment_status = client.get_online_payment_status(payment_id)

Create crypto wallet address

btc_wallet = client.create_btc_address()
ltc_wallet = client.create_ltc_address()
eth_wallet = client.create_eth_address()

Get crypto wallet address

btc_wallet_address = client.get_btc_address()
ltc_wallet_address = client.get_ltc_address()
eth_wallet_address = client.get_eth_address()

Get information about transaction

btc_transaction = client.get_btc_transaction(transaction_id)
ltc_transaction = client.get_ltc_transaction(transaction_id)
eth_transaction = client.get_eth_transaction(transaction_id)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

free-kassa-py-1.0.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

free_kassa_py-1.0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file free-kassa-py-1.0.2.tar.gz.

File metadata

  • Download URL: free-kassa-py-1.0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.2

File hashes

Hashes for free-kassa-py-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3cbcb06b92e3f98467d08a9f71867af49206725ad5a9ad580364aec51215dd23
MD5 43e71dc0bfcdf63a257cdb6bb0a5e9e7
BLAKE2b-256 d256a0690dee9668e0889cc1f6893a5d813915e2f3c4a77ca6d1b2d66931fc29

See more details on using hashes here.

File details

Details for the file free_kassa_py-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: free_kassa_py-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.2

File hashes

Hashes for free_kassa_py-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 acf0d2a6bd662d10d24ff558fd874007cfa0cf18955097bfa80eb39c7067d119
MD5 e245a9b012e79ff8886b07c4b2b40904
BLAKE2b-256 49fb32b1ecde9dc18900a949a0cd49182aba888063e32d3c5dffaa6790bcd6d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page