Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file cs-khipu-0.0.2.tar.gz.

File metadata

  • Download URL: cs-khipu-0.0.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cs-khipu-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4d241575c3fb83c965ef1ea81c8a67bf2124623d7f63456be2293d16e4dce219
MD5 fa7fde3d28383c8871fe550fbe370e00
BLAKE2b-256 b3f4fb8ff0599e21680f960dc1b86da80b22ee6db0e6d6873a6617488736bcc3

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