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.2.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/docs/support for information.
Copyright
---------
Copyright (c) 2013, 2014 MasterCard International Incorporated
All rights reserved.
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.2.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/docs/support for information.
Copyright
---------
Copyright (c) 2013, 2014 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
Close
Hashes for simplifycommerce-sdk-python-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b10c7ea0a7cce6d0feba0281acb6d6173284c2d58a9c5dc5c4270884611fe48a |
|
MD5 | e934cd5c9370d23af9577a9329b30c42 |
|
BLAKE2b-256 | e5ccb06606493ac70182043e9abad6d20b3e51a5d90ac414a33c0781edc69e76 |