Hey guys! So I am currently building a script to sync my Amex transactions with my Monzo ones (after every purchase, the money will be moved into a pot!).
However, I can’t get the Monzo API to give me back a refresh_token! Here is the response I get:
When you created the client in the Monzo developer interface what options did you select? The chances are for confidentiality you chose “Not Confidential”. The API only gives a refresh token if the “Confidential” option is chosen
This is mentioned in the API documentation but to be honest I think I have made the same mistake a few times.
Client confidentiality
Clients are designated either confidential or non-confidential.
Confidential clients keep their client secret hidden. For example, a server-side app that never exposes its secret to users.
Non-confidential clients cannot keep their client secret hidden. For example, client-side apps that store their client secret on the user’s device, where it could be intercepted.
Non-confidential clients are not issued refresh tokens.