Skip to main content

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.

All Contributors

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.

Source Distribution

qvapay-0.0.3.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

qvapay-0.0.3-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

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