Python SDK for the QvaPay API
Project description
Python SDK for the QvaPay API
___ ____
/ _ \__ ____ _| _ \ __ _ _ _
| | | \ \ / / _` | |_) / _` | | | |
| |_| |\ V / (_| | __/ (_| | |_| |
\__\_\ \_/ \__,_|_| \__,_|\__, |
|___/ ✔️✔️
Non official, but friendly QvaPay library for the Python language.
Setup
You can install this package by using the pip tool and installing:
$ pip install qvapay
Or:
$ easy_install qvapay
Sign up on QvaPay
Create your account to process payments through QvaPay at https://qvapay.com/register.
Using the client
First, import the Client class and create your QvaPay client using your app credentials.
from qvapay import Client
client = Client(app_id, app_secret, version=1)
Endpoints
Get your app info
info = client.info()
Get your account balance
balance = client.balance()
Create an invoice
transaction = client.create_invoice(
amount=10,
description='Ebook',
remote_id='EE-BOOk-123' # example remote invoice id
)
id = transaction.id
Get transaction
transaction = client.get_transaction(id)
Get transactions
transactions = client.transactions()
You can also read the QvaPay API documentation: https://qvapay.com/docs.
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
qvapay-0.0.2.tar.gz
(5.2 kB
view hashes)
Built Distribution
qvapay-0.0.2-py3-none-any.whl
(6.4 kB
view hashes)