July 17, 2024
Showing results for 
Search instead for 
Did you mean: 

What is the difference, if any, between webhooks and JIT gateway messages? Are they the same thing?

New Contributor II

New Contributor II

Hey @thiyagu_by, what I think the main difference is that you have a maximum of 5 enabled webhooks per program. This does not include JIT gateway messages, which are sent to enable you to to take advantage of your Gateway JIT decisioning flow (approvals/declines). 

Any mods want to confirm? @jcook @bhavya?

Marqeta Staff
Marqeta Staff

Just-in-Time (JIT) Funding as the name suggests is a method of automatically funding an account in real time during the transaction process. . Whenever a card is swiped for JIT programs , a real time funding request is sent to the program and the program can decide if this funding request needs to be approved or not. JIT gateway is used for transactional events that require an approval or denial.

Here is some helpful documentation on JIT funding : https://www.marqeta.com/docs/developer-guides/about-jit-funding

Webhooks are also real time , except they are notification events for not only transactions, but for card, cardholder, and digital wallet events as well.

Here is some helpful documentation on webhooks: https://www.marqeta.com/docs/developer-guides/webhooks-overview

This guide here shows examples of which events would go to your webhooks endpoint versus your JIT funding endpoint:

Hope this helps!