Skip to main content
Use the /fundingsources/programgateway endpoint to create a program gateway funding source. A program gateway funding source represents a bank account from which funds are drawn for Gateway Just-in-Time (JIT) Funding transactions. For more information about JIT Funding, see About Just-in-Time Funding. In a sandbox environment, you can create a program gateway funding source that simulates funds for use in test transactions. In a production environment, you must work with a Marqeta representative to define the bank account from which the program gateway funding source draws funds.
Note
If you are using a third-party service to collect user funds, Marqeta and the issuing bank require specific reporting to ensure compliance with applicable rules and regulations. Contact Marqeta for more information.

Create program gateway source

Action: POST
Endpoint: /fundingsources/programgateway
Creates a program gateway funding source. A program gateway funding source is a transaction relay that allows you to approve or decline transactions in real time.

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Update program gateway source custom headers

Action: PUT
Endpoint: /fundingsources/programgateway/customheaders/{token}
Adds or updates custom HTTP headers for a specific program gateway funding source.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Retrieve program gateway source

Action: GET
Endpoint: /fundingsources/programgateway/{token}
Retrieves a specific program gateway funding source.

URL path parameters

Response body

Sample response body

JSON

Update program gateway source

Action: PUT
Endpoint: /fundingsources/programgateway/{token}
Update a program gateway funding source.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON