Note
This feature is currently in beta and subject to change. It also requires additional activation steps. To learn more about the Beta program for this feature and about activating it for your program, contact your Marqeta representative.
This feature is currently in beta and subject to change. It also requires additional activation steps. To learn more about the Beta program for this feature and about activating it for your program, contact your Marqeta representative.
Verifying an account holder’s bank account
You must verify your account holder’s external funding source account before they can send or receive ACH payments. You can choose to either integrate with our partner Plaid to verify external bank accounts on the Marqeta platform, as described below, or you can verify the account independently. Seamlessly verifying via Plaid enables you to optimize user conversion, as well as shorten wait times to verify the external funding source. Robust account verification also helps you lower the number of costly returns that result from fraudulent transactions. Plaid enables digital banks to offer their end-users an easy way to connect with their other financial accounts. When you validate your account holders’ bank accounts via Plaid, you don’t handle any personally identifiable information (PII) yourself, enabling you to bypass the regulatory and compliance measures related to capturing, storing, and transmitting PII. Plaid is able to instantly verify account existence and ownership because it accesses real-time account information from most financial institutions in the USA. If an account holder’s financial institution or account information are unavailable to Plaid, you could choose to have Plaid proceed with validation using microdeposits instead.Integrating with Plaid
Note
The following steps assume that you have already established a relationship with both Marqeta and Plaid. In addition, you must explicitly authorize the sharing of information with Plaid, and enable Marqeta as a processor for your integration. For more information, contact your Marqeta representative.
The following steps assume that you have already established a relationship with both Marqeta and Plaid. In addition, you must explicitly authorize the sharing of information with Plaid, and enable Marqeta as a processor for your integration. For more information, contact your Marqeta representative.
1
Sign up for a Plaid account, if you haven’t done so already.
2
Log in to the Plaid Dashboard.
3
Enable the Marqeta integration under Team Settings > Integrations.
4
Obtain your API keys under Team Settings > Keys. This is how you will communicate with the Plaid environment.
5
Complete your setup by following the instructions in the Add Marqeta to your app integration guide and Plaid’s Quickstart guide.
Validating a bank account with Plaid
Once you have successfully integrated with Plaid, follow these steps to validate your account holders’ bank accounts:1
Your application makes a call to Plaid’s platform, and they invoke Link, their account information collection widget. Your account holder enters their financial institution credentials in Link and sends them to Plaid.
2
Plaid validates the account holder as the owner of the account, then creates a secure
public_token and returns it to you.3
You exchange the Plaid
public_token for a Plaid access_token by sending a POST request to Plaid’s /item/public_token/exchange endpoint. The access_token represents all accounts permissioned by that particular user at that financial institution.4
Generate a processor token for the intended account by sending a
POST request to Plaid’s /processor/token/create endpoint that includes the access_token. In the account_id field, indicate the specific account you are linking. In the processor field, enter marqeta.Your response should resemble the following:JSON
5
You are now ready to add this account as an external funding source on the Marqeta platform by sending a
POST request to the /fundingsources/ach/partner endpoint. Remember to include the processor_token you created previously.6
The Marqeta platform contacts Plaid to retrieve the account and routing numbers.
7
The Marqeta platform saves the processor token, as well as the account number and routing number from Plaid. This information is saved internally for future use. For more information about adding an external funding source via a partner integration, see Create ACH source via a partner integration.
Checking an account balance with Plaid
When an account holder pulls money from an external funding source account, they can’t automatically tell whether the account holds enough funds to cover the transfer. An insufficient funds return can arrive days after the transfer, possibly after the account holder has already spent the money. The balance check capability uses Plaid’s balance service to check the available balance of the external account before the Marqeta platform creates the transfer. This lowers the risk of insufficient funds returns on ACH pull transfers.Note
Balance check requires a Plaid funding source created through a partner integration, as described in Validating a bank account with Plaid. It also requires additional activation steps, and Plaid bills you directly for each balance check, according to your agreement with Plaid. To enable balance check for your program, contact your Marqeta representative. Balance check is available only for US accounts, and for consumer accounts. Corporate accounts might not be supported, depending on the financial institution.
Balance check requires a Plaid funding source created through a partner integration, as described in Validating a bank account with Plaid. It also requires additional activation steps, and Plaid bills you directly for each balance check, according to your agreement with Plaid. To enable balance check for your program, contact your Marqeta representative. Balance check is available only for US accounts, and for consumer accounts. Corporate accounts might not be supported, depending on the financial institution.
How balance check works
When balance check is enabled for your program, the Marqeta platform checks the external account balance in two situations:- When you create an ACH pull transfer: Before creating the transfer, the Marqeta platform compares the amount of the transfer with the available balance of the external funding source account. If the available balance is greater than the transfer amount, the transfer is created. If the available balance is less than the transfer amount, the Marqeta platform doesn’t create the transfer and returns an error, so that you can tell your account holder that the funding source has insufficient funds.
- When you retrieve a balance: You can send a
GETrequest to/fundingsources/ach/partner/{funding_source_token}/balanceto retrieve the balance of a funding source at any time. For more information, see Retrieve ACH source balance.
Note
Balance check applies only to pull transfers, which move money from an external account into a Marqeta account. It doesn’t apply to push transfers, which move money out of a Marqeta account.
Balance check applies only to pull transfers, which move money from an external account into a Marqeta account. It doesn’t apply to push transfers, which move money out of a Marqeta account.
Handling balance check errors
Keep the following in mind when you build your balance check flow:- Reauthentication required: If your account holder changes their bank credentials or the financial institution requires new authentication, Plaid returns an
ITEM_LOGIN_REQUIREDerror. Prompt your account holder to reauthenticate through Plaid Link in update mode. You can keep using the same processor token afterward. - Rate limits: Plaid limits balance requests to five per minute for each linked bank account (Plaid item). For more information, see Plaid’s rate limit documentation.
- Response time: Plaid retrieves the balance directly from the financial institution, so responses can take several seconds in production.
- Missing available balance: For some account types, a financial institution might not return an available balance.