Battling the Swish API

There’s a payment system in Sweden called Swish. It was started by six banks, and it’s quite a standard way of doing it. That’s not to say that there aren’t other systems pushing for their piece of the cake. Anyway, one payment system at a time..

I was asked to write some kind of interface for Swish’s API, by someone not-so-tech-savvy. So the premise was to make it as easy to use as possible, because you should always work with the users in mind, right?

The first idea was to check for existing libraries and reuse them. And sure enough, as is usually the case there were libraries. However, they hadn’t been updated for a year or so, and none of them supported the API endpoints(Payouts, to be specific) that my guy needed to use. So I resorted to coding my own.

To be continued

Leave a Reply

Your email address will not be published. Required fields are marked *