This is an unofficial Python SDK for Valitor (formerly AltaPay/Pensio), https://altapay.com/. The SDK is maintained by Coolshop.com, https://www.coolshop.com/.
Documentation is available at Read the Docs.
- Python (3.5, 3.6, 3.7)
Other versions of Python may also be supported, but these are the only versions we test against.
- requests
- six
The easiest way is using pip.
pip install altapay
Refer to the introduction on the documentation for some getting started use cases.
Currently, this library only implements the bare minimum of the AltaPay API. It will allow you to create payment links, and do basic subscription functionality. If you need anything else, feel free to submit a full request, or if you have ideas, open an issue.
If you do decide to submit a pull request, do note that both isort and flake8 (including pep8-naming) are run for all pull requests. You are also advised to write test cases.
First of all, have tox installed on your system. System-wide is probably the better choice. Once you have tox installed, simply run:
tox
This will run all tests, against all supported Python versions.