Skip to main content
Use the /fundingsources/ach, /fundingsources/ach/partner, and /fundingsources/paymentcard endpoints to create account holder funding sources. A funding source enables access to funds outside of the Marqeta platform. For more information on users and businesses, see About Account Holders.

Create ACH source

Action: POST
Endpoint: /fundingsources/ach
Create an ACH funding source for an existing account holder. Specify the account holder of the funding source by passing a user or business token. The response body returns details about the account, including the verification status. Possible ACH verification status values include ACH_VERIFIED, ACH_FAILED, and VERIFICATION_PENDING.

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Create ACH source via a partner integration

Action: POST
Endpoint: /fundingsources/ach/partner
Create an ACH funding source for an existing account holder by using a third-party partner to handle account validation and provide PII account data. Because you don’t handle any personally identifiable information (PII) yourself, using a third party when creating the funding source enables you to bypass the regulatory and compliance measures related to capturing, storing, and transmitting PII. With this endpoint, you can create a US-based funding source—either a checking account or a savings account—for a program or user without passing bank account details such as the account number or routing number to Marqeta. Instead, validating account data and account verification is handled by the third-party partner you specify, and a secure token (i.e., a Plaid processor_token) is shared across partners. By using a secure account verification platform to provide immediate verification, you shorten the wait time until the ACH funding source is ready and avoid managing the microdeposit-based account verification process. To create an ACH funding source for an existing account holder without validating through a third party, see Create ACH source.
Note
This endpoint assumes that you already have established a relationship with both Marqeta and the third-party account validation partner you want to use. In addition, you must explicitly authorize the sharing of information with the third-party partner, and enable Marqeta as a processor for your integration. For more information, contact your Marqeta representative.

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Retrieve ACH source

Action: GET
Endpoint: /fundingsources/ach/{funding_source_token}
Retrieve a specific ACH funding source. The response body returns details about the account, including the verification status. Possible ACH verification status values are: ACH_FAILED, ACH_VERIFIED, and VERIFICATION_PENDING.

URL path parameters

Response body

Sample response body

JSON

List sources for business

Action: GET
Endpoint: /fundingsources/business/{business_token}
List funding sources associated with a specific business. This endpoint supports field filtering.

URL path parameters

URL query parameters

Response body

Sample response body

JSON

Create payment card source

Action: POST
Endpoint: /fundingsources/paymentcard
Create a payment card funding source for an existing account holder. This endpoint returns the card type and the last four digits of the card, and then sets the active_ field to true. Marqeta retains only a tokenized representation of the card number.

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Retrieve payment card source

Action: GET
Endpoint: /fundingsources/paymentcard/{funding_source_token}
Retrieve a specific payment card funding source.

URL path parameters

Response body

Sample response body

JSON

Update payment card source

Action: PUT
Endpoint: /fundingsources/paymentcard/{funding_source_token}
Update a payment card funding source.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON

List sources for user

Action: GET
Endpoint: /fundingsources/user/{user_token}
List funding sources associated with a specific user. This endpoint supports field filtering.

URL path parameters

URL query parameters

Response body

Sample response body

JSON

Set default source

Action: PUT
Endpoint: /fundingsources/{funding_source_token}/default
Configure either an ACH funding source or a payment card funding source as the default funding source. A default funding source is used when you omit the funding_source_token field from funding requests, such as a POST request to /gpaorders. Note that the first funding source you create is automatically set as the default (is_default_source=true).

URL path parameters

Response body

Sample response body

JSON