This is an internal payments Python client SDK for Chamaconekt Kenya
# swagger-client
This is an internal payments API gateway for Chamaconekt Kenya
This Python package is automatically generated by the Swagger Codegen project:
- API version: 0.1
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
For more information, please visit
github.com
## Requirements.
Python 2.7 and 3.4+
## Installation & Usage
### pip install
If the python package is hosted on Github, you can install directly from Github
```sh
pip install git+
github.com
```
(you may need to run `pip` with root permission: `sudo pip install git+
github.com`)
Then import the package:
```python
import swagger_client
```
### Setuptools
Install via Setuptools.
```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)
Then import the package:
```python
import swagger_client
```
## Getting Started
Please follow the installation procedure and then run the following:
```python
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.AccountApi()
payload = swagger_client.CreateAccountPayload1() # CreateAccountPayload1 |
try:
# create account
api_instance.account_create(payload)
except ApiException as e:
print("Exception when calling AccountApi->account_create: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *
http://localhost:8081*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AccountApi* | **account_create** | **POST** /v1/accounts | create account
*AccountApi* | **account_delete** | **DELETE** /v1/accounts/{accountID} | delete account
*AccountApi* | **account_list** | **GET** /v1/accounts | list account
*AccountApi* | **account_show** | **GET** /v1/accounts/{accountID} | show account
*Accoun …