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.3.tar.gz (14.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: squadco-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 5913b897da6fd933eb87cb7d3908b9eadb4736947f04d8d685a30a596b3c639f
MD5 97bbe920e4290fd4197444d88c6029bf
BLAKE2b-256 88cccb30b80478537b004b7fb7bb3001c13efff6e24f202cb7fada4c13f74710

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