payfast-python-client
Asynchronous Python Client for the Payfast API
Uses requests-futures
Installation
Available on PyPi
pip install payfast-client
Usage
from payfast_client import PayfastClient
client = PayfastClient(merchant_id=123, merchant_passphrase="passphrase")
subscription = client.fetch_subscription(token="abc")
print(subscription)
<Future at 0x107d88520 state=finished returned Response>
print(subscription.result())
<Response [200]>
Features
- Signature Generation
- Error Handling (Sometimes errors returned with response_code=200)
- Endpoints
- GET /ping
- Recurring Billing
- GET /subscriptions/:token/fetch
- PUT /subscriptions/:token/pause
- PUT /subscriptions/:token/unpause
- PUT /subscriptions/:token/cancel
- PATCH /subscriptions/:token/update
- POST /subscriptions/:token/adhoc
- Transaction History
- GET /transactions/history
- GET /transactions/history/daily
- GET /transactions/history/weekly
- GET /transactions/history/monthly
- Credit card transaction query
- GET /process/query/:id
Metadata
Release files for payfast-client 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| payfast-client-0.1.3.tar.gz | 4.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| payfast_client-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.2 kB
Release files / payfast-client-0.1.3.tar.gz
| Download URL | payfast-client-0.1.3.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b143e7d17ec16ed4a445d4a6818f0a2459a6c916649e8f8023d0b6797f9cc254
|
|
BLAKE2b-256 checksum How to use checksums |
fe27da1c594fa8eae9e435bc32de3cda48fa2b0b4bb1c930958a232c7e8ddc10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.2 Linux/5.4.0-1040-azure
|
Release files / payfast_client-0.1.3-py3-none-any.whl
| Download URL | payfast_client-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad4f335a5c33521d577d898d5df0ea1b4739f1a77bd5f4b5364b2081b018c9a6
|
|
BLAKE2b-256 checksum How to use checksums |
80b80f9f257dc0d6658934ca71c84bf93d1e9928ab695f1a83ecb5191dfe4f04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.8.2 Linux/5.4.0-1040-azure
|
Security for payfast-client 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.