PUT /pots/POTID/deposit - error decoding request

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

source_account_id={MySourceAccountId}&amount=0.19&dedupe_id=eefc4c2e-8561-45ad-ae9a-b92c1a24ebba

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?

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!!

4 Likes

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

I’ll try again