Project description

python-bluefin is a Python API client for the Bluefin Payment System API.
The only thing this client module does is serialize and pass the data on to
the Bluefin API gateway, it performs little to no validation. Values are passed
into an API function in dict form, and responses come back in a similar
dict format.

Note

python-bluefin is not at all endorsed by Bluefin Payment Systems in
any way. We have published this API module with the hope that it will be
useful to someone else.

Status

python-bluefin has been in use in production for about a year with a high
transaction volume. The directmode client in particular has seen lots of use.

That said, we only use a little sliver of what Bluefin supports (one-off
credit card charges, namely). Given that python-bluefin is a very light
wrapper, other usage cases should still work just fine, even if we (the
maintainers) haven’t used them yet.

Installing

To install:

pip install --upgrade bluefin

A quick example

Here’s a very bare-bones example of how to use the Direct Mode V3Client. We
pass in the required key/values via a Python dict, and get a dict result. All
of these values are documented in the Bluefin API documentation, so look there
for help on just what is being passed in and coming back.