Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

ZOOZ Python Client

A Python library for making ZooZ API Calls

Official Documentation


The official docs for ZOOZ can be found on their developer portal - http://www.zooz.com/developers. This is an unofficial client library written out of necessity.


Usages

Import the client:

from zooz import ZoozClient

Create a new instance of the Client

zooz = ZoozClient(unique_id='<unique_id>',
                  app_key='<app_key>',
                  sandbox=True)

You can use arguments unpacking with the make_request() method:

transaction = {'cmd': 'openTrx',
               'amount': '0.99',
               'currencyCode': 'USD'}

print zooz.make_request(**transaction)

Which is equivalent to:

print zooz.make_request(cmd='openTrx',amount=0.99, currencyCode='USD')

Or you can also directly call the ZooZ commands:

print zooz.openTrx(amount=0.99, currencyCode='USD')

About

A Python client for the ZOOZ Payment gateway

Resources

Releases

No releases published

Packages

No packages published

Languages