# Webhooks are not sent for virtual cards using a pot

**URL:** <https://community.monzo.com/t/webhooks-are-not-sent-for-virtual-cards-using-a-pot/124994>\
**Category:** Developers\
**Created:** [30 October 2021 16:25 UTC](https://community.monzo.com/t/webhooks-are-not-sent-for-virtual-cards-using-a-pot/124994 "2021-10-30T16:25:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sherlock](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/sherlock/32/43308_2.png) [@Sherlock](https://community.monzo.com/u/Sherlock)\
**Post date:** [30 October 2021 16:25 UTC](https://community.monzo.com/t/webhooks-are-not-sent-for-virtual-cards-using-a-pot/124994/1 "2021-10-30T16:25:17Z")

</div>

Recently Monzo released the ability for users to connect a Virtual Card to a pot. This now means that pots have their own feed of transactions separate to the main list.

With this change, it appears that webhooks do not work for this pot transaction feed.

I have sent a transaction to a virtual card connected to a pot, and no webhook has been sent.

I have also tried sending a transaction to a virtual card pulling money from the main account, and I do get a webhook. I also get a webhook (as has always worked) by spending money on my main card.

I can definitely understand why this doesn’t work, but it would be very helpful if it did 😛 I wonder if there’s a way to add a webhook to a pot? Perhaps it exists but is undocumented?

Anyone seen this, want this, know how to workaround this? Thoughts?

Cheers

---

<div class="post-metadata">

**Author:** ![Sherlock](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/sherlock/32/43308_2.png) [@Sherlock](https://community.monzo.com/u/Sherlock)\
**Post date:** [30 October 2021 16:32 UTC](https://community.monzo.com/t/webhooks-are-not-sent-for-virtual-cards-using-a-pot/124994/2 "2021-10-30T16:32:45Z")

</div>

I’ll add to this that it doesn’t look like the Public API has any ability to list transactions on these ‘pot accounts’ either. Looks like they’re completely separate and Monzo didn’t add them to the public API 😭

---

<div class="post-metadata">

**Author:** ![Sherlock](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/sherlock/32/43308_2.png) [@Sherlock](https://community.monzo.com/u/Sherlock)\
**Post date:** [30 October 2021 17:01 UTC](https://community.monzo.com/t/webhooks-are-not-sent-for-virtual-cards-using-a-pot/124994/3 "2021-10-30T17:01:32Z")

</div>

An evolving discussion. It turns out there’s a _hidden_ value called “pot\_account\_id” which is generated for every pot. You can use this pot\_account\_id to request the /transactions endpoint and get a list of transactions.

This same pot\_account\_id does **not** work for the /webhooks endpoints (auth error).  
It’s also not immediately obvious to me how a normal person would get this pot\_account\_id. It’s not available in the accounts API, or in the pots API.

Would love a member of the team to help us out here! ❤ Thanks

---

<div class="post-metadata">

**Author:** ![Revels](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/revels/32/120556_2.png) [@Revels](https://community.monzo.com/u/Revels)\
**Post date:** [30 October 2021 17:09 UTC](https://community.monzo.com/t/webhooks-are-not-sent-for-virtual-cards-using-a-pot/124994/4 "2021-10-30T17:09:48Z")

</div>

> [@Sherlock](#):
>
> Looks like they’re completely separate and Monzo didn’t add them to the public API 😭

Not that it helps, but they aren’t on the Google sheets export either.

So I think you’re right, they are completely separate

---

<div class="post-metadata">

**Author:** ![trevwmitchell](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/trevwmitchell/32/16714_2.png) [@trevwmitchell](https://community.monzo.com/u/trevwmitchell)\
**Post date:** [21 November 2021 19:41 UTC](https://community.monzo.com/t/webhooks-are-not-sent-for-virtual-cards-using-a-pot/124994/5 "2021-11-21T19:41:35Z")

</div>

Think I need to “hey Google, what’s a webhook?”

I’m interested to know, I’ve heard the term used lots but never investigated to know if I should have or need some in my life.

---

<div class="post-metadata">

**Author:** ![Sherlock](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/sherlock/32/43308_2.png) [@Sherlock](https://community.monzo.com/u/Sherlock)\
**Post date:** [21 November 2021 19:54 UTC](https://community.monzo.com/t/webhooks-are-not-sent-for-virtual-cards-using-a-pot/124994/6 "2021-11-21T19:54:48Z")

</div>

Simply put, a Monzo webhook is where Monzo will send a request to a developer’s server whenever a transaction is created. That means we can make updates to your account in real-time as it happens.

We use webhooks to save us needing to poll for updates which is where we make a request to Monzo every couple of minutes basically constantly saying “anything new? anything new? anything new?” constantly on repeat.

Webhooks are far quicker, and less intensive.

---

<div class="post-metadata">

**Author:** ![Mac](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Mac](https://community.monzo.com/u/Mac)\
**Post date:** [25 June 2023 14:53 UTC](https://community.monzo.com/t/webhooks-are-not-sent-for-virtual-cards-using-a-pot/124994/7 "2023-06-25T14:53:34Z")

</div>

This doesn’t seem to work anymore ☹
