https://github.com/cloudipsp/python-sdk
https://github.com/cloudipsp/python-sdk
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloudipsp/python-sdk
- Owner: cloudipsp
- License: mit
- Created: 2018-09-12T14:54:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-26T08:42:42.000Z (about 3 years ago)
- Last Synced: 2025-03-25T12:51:17.478Z (9 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 32
- Watchers: 4
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloudipsp Python SDK client
[](https://pepy.tech/project/cloudipsp)
[](https://pepy.tech/project/cloudipsp)
[](https://pepy.tech/project/cloudipsp)
## Payment service provider
A payment service provider (PSP) offers shops online services for accepting electronic payments by a variety of payment methods including credit card, bank-based payments such as direct debit, bank transfer, and real-time bank transfer based on online banking. Typically, they use a software as a service model and form a single payment gateway for their clients (merchants) to multiple payment methods.
[read more](https://en.wikipedia.org/wiki/Payment_service_provider)
Requirements
------------
- Python (2.4, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7)
Dependencies
------------
- requests
- six
Installation
------------
```bash
pip install cloudipsp
```
### Simple start
```python
from cloudipsp import Api, Checkout
api = Api(merchant_id=1396424,
secret_key='test')
checkout = Checkout(api=api)
data = {
"currency": "USD",
"amount": 10000
}
url = checkout.url(data).get('checkout_url')
```
Tests
-----------------
First, install `tox` ``
To run testing:
```bash
tox
```
This will run all tests, against all supported Python versions.