> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Managed JIT Funding Resources

> Learn about the program funding source and card product that Managed Just-in-Time (JIT) Funding requires, and how it funds transactions.

This page describes the resources that a Managed Just-in-Time (JIT) Funding setup requires.
To create and test these resources in the sandbox, follow the [Configuring Managed JIT Funding](https://www.marqeta.com/docs/developer-guides/configuring-managed-jit-funding.md) tutorial.

## JIT Funding

JIT Funding automates the loading of funds into accounts in real time during the transaction process. In a Managed JIT Funding setup, the Marqeta platform handles all authorization decisions using [spend controls](https://www.marqeta.com/docs/developer-guides/controlling-spending.md) configured at the card product or card level. Funds are drawn from the program funding source of the card product.

For more information about JIT Funding, see [About Just-in-Time Funding](https://www.marqeta.com/docs/developer-guides/about-jit-funding.md).

For more information about spend controls, see [Controlling Spending](https://www.marqeta.com/docs/developer-guides/controlling-spending.md).

## Program funding source

A program funding source represents a bank account from which funds are drawn for JIT-funded transactions. In the sandbox environment, each program funding source simulates funds for your test transactions. In a production environment, each program funding source draws from the bank account you set up in conjunction with Marqeta.

> [!NOTE]
>
> **Note**\
> Your program funding source must be approved by Marqeta and the issuing bank. If you are using a third-party service to collect user funds, Marqeta and the issuing bank require specific reporting to ensure compliance with all rules and regulations. Contact your Marqeta representative for more information.

For a complete description of the `/fundingsources/program` endpoint, see [Program Funding Sources](https://www.marqeta.com/docs/core-api/program-funding-sources/).

## Card product configuration

A card product defines the attributes and behaviors of a set of cards. Managed JIT Funding setups require you to create a card product associated with a program funding source. Each card product can have a single funding source, which funds all transactions conducted using an associated card.

> [!TIP]
>
> **Tip**\
> You can create and configure card products in the sandbox environment. To create a new card product in production, contact your Marqeta representative for more information.

For a complete description of the `/cardproducts` endpoint, see [Card Products](https://www.marqeta.com/docs/core-api/card-products/).


## Related topics

- [Configuring Managed JIT Funding](https://www.marqeta.com/docs/developer-guides/configuring-managed-jit-funding.md)
- [Gateway JIT Funding Resources](https://www.marqeta.com/docs/developer-guides/gateway-jit-funding-resources.md)
- [About Just-in-Time Funding](https://www.marqeta.com/docs/developer-guides/about-jit-funding.md)
- [Using AVS with JIT Funding](https://www.marqeta.com/docs/developer-guides/using-avs-with-jit-funding.md)
- [Configuring Gateway JIT Funding](https://www.marqeta.com/docs/developer-guides/configuring-gateway-jit-funding.md)
