-
Notifications
You must be signed in to change notification settings - Fork 137
Import: Monzo
Scott Robertson edited this page Jul 8, 2018
·
22 revisions
To get Monzo webhooks working with this app, you need to set up a webhook in the Developer Console. To do that:
- Login to https://developers.monzo.com with your Monzo account.
- Click "Register webhook" on the left
- Paste the URL of your app from above into the "URL" value of the Request Body, followed by /monzo. For example: "https://scott-monzo-to-ynab.herokuapps.com/monzo
- Setup the
YNAB_MONZO_ACCOUNT_ID
environment variable to your account id
If you have setup a URL Secret, please remember to include it step 3.
To import your Monzo bank history, you will need a Monzo personal access token, Monzo account ID and your YNAB account id.
- You can get your Monzo access token here
- Once you have logged into the developer dashboard above, click on the "List Accounts" endpoint, and get the account_id from there.
Note: If you are using a Current Account, make sure you get the account_id from your uk_retail
account, not the prepaid one
To import your Monzo history, just run the following:
Import::Monzo.new(monzo_access_token, monzo_account_id, ynab_account_id).import