Skip to main content

Simplify Commerce Python SDK

Project description

            Python SDK for Simplify Commerce

What is it?

A python API to the Simplify Commerce payments platform. If you have not already got an account sign up at https://www.simplify.com/commerce.

Installation

To install:

python setup.py install

Using the SDK

To run a payment though Simplify Commerce use the following script substituting your public and private API keys:

import simplify
simplify.public_key = "YOUR_PUBLIC_API_KEY"
simplify.private_key = "YOUR_PRIVATE_API_KEY"
payment = simplify.Payment.create({
   	    "card" : {
            "number": "5555555555554444",
            "expMonth": 11,
            "expYear": 15,
            "cvc": "123"
        },
        "amount" : "1000",
        "description" : "prod description",
        "currency" : "USD"
    })
print payment

For more examples see https://www.simplify.com/commerce/docs/sdk/python.

Version

This is version 1.8.0 of the SDK. For an up-to-date version check at https://www.simplify.com/commerce/docs/sdk/python.

Licensing

Please see LICENSE.txt for details.

Documentation

API documentation is available in the doc directory in HTML. For more detailed information on the API with examples visit the online documentation at https://www.simplify.com/commerce/docs/sdk/python.

Support

Please see https://www.simplify.com/commerce/support for information.

Copyright

Copyright (c) 2013 - 2022 MasterCard International Incorporated All rights reserved.

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

simplifycommerce-sdk-python-1.8.0.tar.gz (131.8 kB view hashes)

Uploaded Source

Built Distribution

simplifycommerce_sdk_python-1.8.0-py3-none-any.whl (22.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page