Sends txt messages using Twilio's API every time you use your Monzo card for payments.
For deploying to Heroku have a look at the Heroku branch https://github.com/gmichokostas/my-monzo/tree/heroku
-
First you need to own a Monzo card.
-
Install Go at your machine.
-
Get the source code with
go get github.com/gmichokostas/my-monzo
-
Create a webhook using Monzo's API pointing to your URL.
-
Create a Twilio Account.
-
Grab your Twilio's credentials, configure Twilio with your
$EDITOR
and you're ready to go:$ cp twilio/config.json.sample twilio/config.json $ $EDITOR config.json
The configuration file contains JSON. The following keys can be defined and all are required:
APIURL
– To send a new outgoing message, make an HTTP POST to your Messages list resource URI.From
– A Twilio phone number for the type of message you wish to send.To
– The destination phone number.Username
– Basic HTTP Auth username.Password
– Basic HTTP Auth password.
The original motivation for creating this project was firstly to be able to get notified every time I use my Monzo card in case I don't have access to the internet through my phone and second to learn the Go language.