Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

An unofficial Python library for communicating with the Tikkie API

Project description

Python Tikkie API

An unofficial Python library for communicating with the Tikkie API, made with ❤️ by New10

Installing

pip install tikkie

Example

from decimal import Decimal

from tikkie import configure, get_platforms, get_users, create_payment_request

private_key = open('private_rsa.pem', 'rb').read().decode()
configure(api_key='secret', private_key=private_key, platform_token='my-platform-token', sandbox=False)

platform = get_platforms()[0]
user = get_users()[0]

rq = create_payment_request(
    user_token=user.user_token,
    bank_account_token=user.bank_accounts[0].bank_account_token,
    amount=Decimal(0.01),
    currency="EUR",
    description="Test cesar",
    external_id="123456",
    platform_token=platform.platform_token,
)

Project details


Download files

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

Files for tikkie, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size tikkie-0.2.1-py3-none-any.whl (10.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size tikkie-0.2.1.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page