Hi,
I’m about to start building a simple internal app for tracking expenses but reading the API docs, I can’t see anything about request returning the expense card user that made the transaction or even the last 4 digits of the card. Have I missed it or is this not possible?
Cheers,
Dan
Hey, Dan.
I assume you are using a business account based upon your referenc to an expen se card. I only have a personal account, so can’t confirm.
If it is of any use, though, there is a “mastercard_card_id” property in the “metadata” object.
If you map all of the cards, in your code, you could use this.
Thanks Tim, I couldn’t see that in the api docs buts it’s worth a shot.. are you using that when you get transactions?
Hey, buddy.
You’re welcome.
I am not using that property, myself, I just dumped the response of the /transactions endpoint so I could see if there was anything of use to you.
As you say, they don’t actual document what the metadata property contains, it simply shows an empty object on: Monzo API Reference