Marqeta.com
Support
/
5 minute read
November 10, 2020

Program Funding Sources

Use the

/fundingsources/program
endpoint to create a program funding source.

A program funding source represents a bank account from which funds are drawn for Managed Just-in-Time (JIT) Funding transactions. For more information about JIT Funding, see About Just-in-Time Funding.

In the sandbox environment, each program funding source you create simulates funds for use in test transactions. In the production environment, program funding sources are created by Marqeta and draw funds from a bank account you set up in conjunction with Marqeta.

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 Marqeta for more information.

Create program source

Action:

POST

Endpoint:
/fundingsources/program

Create a program funding source.

Body field details
Fields Description

active

boolean
Optional

Indicates whether the program funding source is active.

Allowable Values:

true
,
false

Default value:

true

token

string
Optional

The unique identifier of the funding source. If you do not include a token, the system will generate one automatically. As this token is necessary for use in other calls, we recommend that you define a simple and easy to remember string rather than letting the system generate a token for you. This value cannot be updated.

Allowable Values:

36 char max

name

string
Required

The name of the funding program.

Allowable Values:

40 char max

Sample request body
Copied

Is this helpful?

Yes
No
Sample response body
Copied

Is this helpful?

Yes
No

Retrieve program source

Action:

GET

Endpoint:
/fundingsources/program/{token}

Retrieve a specific program funding source.

URL path parameters
Fields Description

token

string
Required

Identifies the program funding source you want to retrieve.

Allowable Values:

Existing program funding source token.

Send a

GET
request to
/fundingsources/user/{user_token}
to retrieve existing funding source tokens for a user or to
/fundingsources/business/{business_token}
to retrieve existing funding source tokens for a business.

Sample response body
Copied

Is this helpful?

Yes
No

Update program source

Action:

PUT

Endpoint:
/fundingsources/program/{token}

Update a program funding source. Only the values of parameters specified in the request are modified; all others are left unchanged.

URL path parameters
Fields Description

token

string
Required

Identifies the program funding source to update.

Allowable Values:

Existing program funding source token.

Send a

GET
request to
/fundingsources/user/{user_token}
to retrieve existing funding source tokens for a user or to
/fundingsources/business/{business_token}
to retrieve existing funding source tokens for a business.

Body field details
Fields Description

name

string
Optional

The name of the program funding source.

Allowable Values:

40 char max

active

boolean
Optional

Indicates whether the program funding source is active.

Allowable Values:

true
,
false

Sample request body
Copied

Is this helpful?

Yes
No
Sample response body
Copied

Is this helpful?

Yes
No

Create ACH program source

Action:

POST

Endpoint:
/fundingsources/program/ach

Create an ACH program funding source.

Body field details
Fields Description

token

string
Optional

The unique identifier of the funding source. If you do not include a token, the system will generate one automatically. This token is necessary for use in other calls, so we recommend that rather than let the system generate one, you use a simple string that is easy to remember. This value cannot be updated.

Allowable Values:

36 char max

account_number

string
Required

The ACH account number.

Allowable Values:

36 char max

name_on_account

string
Required

The name on the ACH account.

Allowable Values:

40 char max

routing_number

string
Required

The routing number for the ACH account.

Allowable Values:

9 digits

account_type

string
Required

The type of account.

Allowable Values:

checking, savings

is_default_account

boolean
Optional

If there are multiple funding sources, this field specifies which source is used by default in funding calls. If there is only one funding source, the system ignores this field and always uses that source.

Allowable Values:

true
,
false

Default value:

false

verification_override

boolean
Optional

Allows the ACH funding source to be used regardless of its verification status.

Allowable Values:

true
,
false

Default value:

false

verification_notes

string
Optional

Free-form text field for holding notes about verification. This field is returned only if

verification_override = true
.

Allowable Values:

255 char max

Sample request body
Copied

Is this helpful?

Yes
No
Sample response body
Copied

Is this helpful?

Yes
No

Feedback on this page?

If you feel we can do anything better, please let our team know.