Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kliment/pymill
Python API for Paymill credit card processing service
https://github.com/kliment/pymill
Last synced: about 2 months ago
JSON representation
Python API for Paymill credit card processing service
- Host: GitHub
- URL: https://github.com/kliment/pymill
- Owner: kliment
- Created: 2012-08-31T23:00:18.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-11-18T15:09:30.000Z (about 9 years ago)
- Last Synced: 2024-11-01T04:34:38.396Z (about 2 months ago)
- Language: Python
- Size: 343 KB
- Stars: 22
- Watchers: 4
- Forks: 34
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This library provides access to the Paymill API from a Python application.
It depends on [Requests](http://docs.python-requests.org/en/latest/), and thereby should also work on Google App Engine.
Example of usage:
```python
import pymill
p = pymill.Pymill("YOUR PRIVATE KEY GOES HERE")# show IDs for all stored cards
for card in p.get_cards():
print card# create new card, run transaction on it and refund part of that again
card = p.new_card("token from Paymill bridge goes here")
transaction = p.transact(230, payment=card)
ref = p.refund(transaction, 30)
```Find the remaining documentation at http://pymill.readthedocs.org.