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.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Carlos Lugones 💻 |
Ozkar L. Garcell 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.