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

Uploaded Source

File details

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

File metadata

  • Download URL: squadco-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 0a3357205471f6b4c06a2d22e138e7d6b0154a7e7d75a4fdf96a95fc1239b085
MD5 21d96112dcb109db0d5f2543adb4db64
BLAKE2b-256 2e2ffb0419277e99d83a3f39d039091ed4476437c754be57a686f4697a84a432

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