Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.