• Stars
    star
    109
  • Rank 319,077 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 9 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python plugin for Paystack

paystack-python

Coverage Status Scrutinizer Code Quality Circle CI Build Status PyPI version

Python plugin for Paystack View on pypi.python.org

Installation

pip install paystackapi

Instantiate Paystack

from paystackapi.paystack import Paystack
paystack_secret_key = "5om3secretK3y"
paystack = Paystack(secret_key=paystack_secret_key)

# to use transaction class
paystack.transaction.list()

# to use customer class
paystack.customer.get(transaction_id)

# to use plan class
paystack.plan.get(plan_id)

# to use subscription class
paystack.subscription.list()

DOC Reference: https://developers.paystack.co/v2.0/reference

API Reference: API

Other methods can be found in the docs folder

Static Use

To start using the Paystack Python API, you need to start by setting your secret key.

You can set your secret key in your environment by running:

export PAYSTACK_SECRET_KEY = 'your_secret_key'

Don't forget to get your API key from Paystack and assign to the variable PAYSTACK_SECRET_KEY

Available resources

BulkCharge
Charge
ControlPanel
Customer
Invoice
Misc
Page
Plan
Product
Refund
Settlement
SubAccount
Subscription
Transaction
TransferControl
Transfer
TransferSplit
TransferRecipient
Verification

Please reference the docs folder for usage,

More Repositories

1

Bookmeapi

Demonstrate the power of GraphQL with Python/Django
Python
65
star
2

rainbowtext

A mini Flask App to demonstrate auto deploy to AWS-ECS Fargate with Docker-Compose
Python
29
star
3

timed-lru-cache

A time constraint LRUCache Implementation
Python
17
star
4

Django-ReactJS-Library-App

An app to manage Amity library books.
Python
14
star
5

django-photo-edit

Django Powered Photo Editing Application
Python
12
star
6

django-bucketlist-application

Demonstrating Django Rest Framework
Python
10
star
7

golang-practice

Golang practice set
Go
8
star
8

andelaPortal

A chrome extension for https://portal.andela.com/ ( A list of Andela resources)
JavaScript
6
star
9

go-bucketlist-api

A simple app to demonstrate the power of Go in creating a RESTFUL API
Go
6
star
10

Node-RESTAPI-practice

Demonstrating the power of NodeJs.
JavaScript
6
star
11

weather-check

ReactJs mini project to check the weather.
JavaScript
5
star
12

LookUp

A console dictionary application
JavaScript
5
star
13

inverted-index

JavaScript
5
star
14

payroll

Yet another Python Django App for Payroll
Python
5
star
15

Django-Socketio-TodoListApp

Demonstrating Django SocketIO ability in a TodoList application.
Python
5
star
16

Instigator-monitoring

Setup Monitoring for Instigator (Prometheus, Graphana, Kafka Exporter and JMX Kakfa Exporter)
4
star
17

PCI-python

programming collective intelligence reviews...
Python
4
star
18

foodbot-api-to-csv

A small script to convert Foodbot api data to .csv file
Python
4
star
19

BucketList-Api

Python Flask Api Demonstration
Python
4
star
20

priorityQueue

Implementation of the Priority Queue ADT using Binary Heap Invariant
Go
4
star
21

Instigator

A simple push/pull project that demonstrates the use of kafka for streaming data between two services.
Shell
4
star
22

a_star_search

Let's Implement the A star search Algorithm
Go
3
star
23

github-battle

ReactJS Fundamentals
JavaScript
3
star
24

fbreact

fbreact tutorial
JavaScript
3
star
25

celery

Demonstrating Django celery
Python
3
star
26

amity-room-allocation

amity-room-allocation
Python
3
star
27

serverless-getPage

A simple serverless framework system used to retrieve minute details of a web page.
Python
3
star
28

Django-React-Practice

Demonstrating the power of Django and React
JavaScript
2
star
29

teamblog

django blog demonstration.
Python
2
star
30

iac_jotpad

Let's deploy to Digital Ocean using Terraform and Ansible
Jinja
2
star
31

django_test_driven_app

Django TDD test app
Python
2
star
32

django_cms_blog

2
star
33

go_prometheus_setup

A sample app to demonstrate instrumentation with go and prometheus
Go
2
star
34

random-room-allocator

Random room allocation system in go.
Go
2
star
35

load-testing

A simple setup to demonstrate load testing using locust.io
Python
1
star
36

bookshelf

A mini book application to manage books
HTML
1
star
37

packt_summary_note

A simple summary note application using Python/Django to demonstrate the Elastic Stack for Packt Courseware
Python
1
star
38

dijkstra

Let's implement the Dijkstra Algorithm.
Go
1
star
39

chrome-es2015

Using ES6 to create a Javascript App.
1
star
40

bookstack

A simple PWA to demonstrate a crud operation for creating book using React Hooks & Context.
JavaScript
1
star
41

shell_Scripting_practice

Some random shell scripts
Shell
1
star
42

jotpad

A simple jotting API application using python Django
Python
1
star