https://github.com/null-none/payssion-client
Payssion Python library
https://github.com/null-none/payssion-client
client payssion payssion-payment python
Last synced: 12 months ago
JSON representation
Payssion Python library
- Host: GitHub
- URL: https://github.com/null-none/payssion-client
- Owner: null-none
- License: mit
- Created: 2022-12-28T22:49:38.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T19:59:02.000Z (about 3 years ago)
- Last Synced: 2025-01-26T09:28:34.962Z (about 1 year ago)
- Topics: client, payssion, payssion-payment, python
- Language: Python
- Homepage: https://www.payssion.com
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
The Payssion API provides simple client for RESTful APIs
=======
Install
=======
.. code-block:: bash
pip install payssion
=======
Example
=======
.. code-block:: python
from payssion.src.api import Payssion
API_KEY = 'API_KEY'
APP_SECRET = 'APP_SECRET'
payssion = Payssion(api_key=APP_CLIENT_ID, secrey_key=APP_SECRET, is_livemode=False)
payssion.create({
'amount: 1,
'currency': 'USD',
'pm_id': 'alipay_cn',
'description': 'order description',
'order_id': 'your order id',
'return_url': 'your return url'})
=======
Donation
=======
.. image:: https://img.shields.io/badge/Donate-PayPal-green.svg
:target: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YYZQ6ZRZ3EW5C