Skip to content

Python SDK

Python SDK allows you to accept payment with Visa/MasterCard cards on your website.

Lates version of Python SDK you can always find in our public repository:

https://github.com/flittpayments/python

Installation

pip install flittpayments

Simple start

from flittpayments import Api, Checkout
api = Api(merchant_id=1549901,
          secret_key='test')
checkout = Checkout(api=api)
data = {
    "currency": "USD",
    "amount": 10000
}
url = checkout.url(data).get('checkout_url')