Unofficial Khipu Services Python SDK.
Project description
Installation
Just run:
$ python setup.py install
Usage
from khipu.api import KhipuApi
api = KhipuApi('receiver_id', 'secret_key')
data = {
'subject': 'Asunto',
'body': 'Descripci?n',
'amount': '10000',
'payer_email': 'email',
'bank_id': '',
'expires_date': 'Unix timestamp',
'transaction_id': 'T-1000',
'custom': '',
'notify_url': 'http://yourwebsite.cl/notificame/',
'return_url': 'http://yourwebsite.cl/exito/',
'cancel_url': '',
'picture_url': ''
}
result = api.create_payment(**data)
print result
Documentation
You can refer to https://khipu.com/page/api for official API documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cs-khipu-0.0.2.tar.gz
(4.6 kB
view hashes)