PUT /pots/POTID/deposit - error decoding request

(Stu S) #1

I’m hitting PUT /pots/${MYPOTID}/deposit with the body:


Content-Type: application/x-www-form-urlencoded

And I’m only getting error decoding request back? This is trying to move some money from my account to a pot via webhook.

Any pointers?

(Tony, Secret Lemonade Drinker) #2

I’ll admit I’ve not done any API work on Monzo, but from a quick look I suspect your amount has to be in pence, and doesn’t need the decimal point. That may or may not help!!

(Stu S) #3

Oh god. Looking at it, you’re totally right…

I’ll try again