Stuskl
(Stu S)
7 March 2019 16:50
1
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?
tbutz
(🏳️🌈 Producer of "low value commentary")
7 March 2019 17:02
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!!
4 Likes
Stuskl
(Stu S)
7 March 2019 17:08
3
Oh god. Looking at it, you’re totally right…
I’ll try again