Skip to main content

Python API Wrapper for Squadco.com Payment services

Project description

SQUAD PYTHON

A Python wrapper for Squadco API

The api call descriptions are from the official documentation.

Getting Started

To install the wrapper, enter the following into the terminal.

pip install squadco

Every api call requires this secret_key. Make sure to use this key when getting started.

from squad import Squad
client = Squad("SECRET_KEY")

If you want to use the Live Endpoint, pass the test=False in the client initialization.

from squad import Squad
client = Squad("SECRET_KEY",test=False)

Sample Usage

from squad import Squad
client = Squad("SECRET_KEY")

verify_transaction = client.payments.verify_transaction(txn_ref="SQDEBU6383961457377100021")
print(verify_transaction)

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

squadco-1.0.4.tar.gz (14.9 kB view details)

Uploaded Source

File details

Details for the file squadco-1.0.4.tar.gz.

File metadata

  • Download URL: squadco-1.0.4.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for squadco-1.0.4.tar.gz
Algorithm Hash digest
SHA256 b02debaa8a449be629e8fb8b7cb217722133ee6f45961abb2979e0d30c6e66e5
MD5 48576f5dde20ee5613eb4f7cef62c4ed
BLAKE2b-256 232b07a361a421a9c8b3ddbfc4670023d838dffe5cce2c5b0472c44891d6564d

See more details on using hashes here.

Supported by

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