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
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
Built Distribution
Hashes for simplifycommerce-sdk-python-1.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 262b1a17892d15b89c3aef34c54678cdb6b49271d52a64e03cbe167b164f1c76 |
|
MD5 | f8c5cf3de48324dbf8038e58fb3acba3 |
|
BLAKE2b-256 | 33ce1cb2f941c49384b6e009c7cfa62073eb235fb499d1aba39fb0986a5f61af |
Hashes for simplifycommerce_sdk_python-1.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09373bc81a3f09917811c0360166b6a5d36ce8d197e566b0ab1ef282ed1edb1c |
|
MD5 | 02987f37360684a59d1d8e530e7dcce0 |
|
BLAKE2b-256 | fccbfb0bc4a5ed0bf06dfa37262ef91d8518196cb0a4a4e15b15e85e3d29aab1 |