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:
- listen to debit card authorisation events from our Kafka cluster
- 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
- estimate the savings, based on the currency, country and merchant
- 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.
- We have a github template for spring-boot services, which wires all security, database connections and many other TransferWise specific goodies
- 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.
- 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
- Our notification-service abstracts away the sending of push notifications, emails, in-app inbox messages, webhooks, etc.
- 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.
For the past few months, Google Pay has been one of the most requested features by our debit card customers in Europe — and it’s finally here! To start using...
Receiving money from Poland just got easier. With instant access to PLN bank details, you can now receive Polish zloty straight to your account — like a local...
Great news for people who are sending money to Ukraine: TransferWise just released UAH transfers to all Ukrainian cards!
When ATMs and checkout terminals abroad offer to make the conversion, they always intend to profit from the bad exchange rate they use. Save by always...
At TransferWise, our mission is to build money without borders — making sending money abroad instant, convenient, transparent and eventually free. But from...
Starting soon, we’ll ask you to approve certain actions in your account. This will keep your money and data even safer. You’ll approve actions on the web with...