Making of a new feature for debit cards

Kristo Käärmann

In August I was on the same flight with Itisam, one of the software engineers in the debit card team. We chatted about what he had been working on and then went on to my user feedback - I had been using the green "Hello World!" debit card exclusively for 2 years going. We talked through a couple of features and how we could go about building them - a DCC warning notification was one of them.

Inspired by the conversation, I went on to research the data we have been seeing about DCC and had a spare weekend coming up, so I thought I could give it a go - to build it myself.

I'm not a software engineer, not for any practical purposes. Yet I've been always curious how they do it, so I had a pretty good overview already of how the systems hang together. The way to set up the feature was to add a new spring boot micro service, which does the following:

  1. listen to debit card authorisation events from our Kafka cluster
  2. analyse each event, specifically check if the transaction currency is what we'd expect to be used in the country, where the transaction took place
  3. estimate the savings, based on the currency, country and merchant
  4. queue a push notification and an in-app inbox message to the user

It was nice to try out different bits of technical infrastructure I could use for the purpose.

  1. We have a github template for spring-boot services, which wires all security, database connections and many other Wise specific goodies
  2. There is a widely used homegrown library, which handles out of the box Kafka message consuming, task creation and asynchronous processing. It is open sourced as tw-tasks-executor.
  3. I took advantage of our feature-service, another microservice, which lets us test new features in production for whitelisted users and handles gradual roll-out
  4. Our notification-service abstracts away the sending of push notifications, emails, in-app inbox messages, webhooks, etc.
  5. Having the standard circle-ci build pipeline, prometheus, rollbar, new relic and kubernetes config all helped

At the end of the day my service was only a couple of hundred lines of code. It didn't get done in the first weekend, it took a few more Saturdays and evenings over 4 weeks.

Coding is pretty far from my day job and I won't be good at it, but I learned a lot in the process. Someone told me you're going to be a pretty poor dairy farmer, if you never try to milk the cow.


*Please see terms of use and product availability for your region or visit Wise fees and pricing for the most up to date pricing and fee information.

This publication is provided for general information purposes and does not constitute legal, tax or other professional advice from Wise Payments Limited or its subsidiaries and its affiliates, and it is not intended as a substitute for obtaining advice from a financial advisor or any other professional.

We make no representations, warranties or guarantees, whether expressed or implied, that the content in the publication is accurate, complete or up to date.

Money without borders

Find out more
News

We've lowered some of our fees

This blog post is to update our customers about changes in price and is not a marketing communication. We regularly review our fees to reflect the real cost...

Wise
09.09.24 Read time 1 minute
News

We’ve lowered our fees

Our mission is to lower the cost of moving money across borders. We’ve made progress over the last 13 years, bringing our average fee to 0.64% globally. As we...

Wise
09.09.24 Read time 3 minutes
News

We’re dropping some of our fees

This blog post is to update our customers about changes in price and is not a marketing communication. We regularly review our fees to reflect the real cost...

Wise
19.06.24 Read time 1 minute

Tips, news and updates for your location