When accepting ACH Direct Debit payments, Nacha requires you to validate that the shopper's bank account details are correct, if it is a consumer account. To make this validation easier for you, we have partnered with Plaid. Plaid collects the shopper's permission to connect their account to Plaid, and verifies the account details directly with the shopper's bank.
- Smooth shopper experience. Shoppers link their account using Plaid Link. Shoppers don't need to search for their account number and routing number.
- You send us the shopper's Plaid processor token instead of having to deal with sensitive account details.
- Plaid collects the shopper's permission to store their details and check their account balance.
- Real-time balance check. This reduces the chance that transactions are reversed because of insufficient funds. It can also save shoppers having to pay overdraft fees or non-sufficient funds fees.
If you don't want to validate the account with Plaid, you need to collect the shopper's bank account number, bank routing number, and account holder name, and pass these details in the payment request.
Account validation with Plaid is supported for the following online payments integrations:
- API-only integration.
- Web Drop-in or Web Components integration using the
You can't use validation with Plaid if your integration uses the
Depending on their bank, shoppers may need to re-authenticate with Plaid after a number of months. The token itself doesn't change, but you need to re-initialize it.
How it works
- The shopper selects ACH Direct Debit on your payment form.
- You check if the shopper has already connected their account with Plaid.
- If the shopper's account isn't connected to Plaid yet:
- You direct the shopper to Plaid Link.
- You make a series of API requests to Plaid to get the shopper's Plaid processor token.
- You make a payment with the shopper's Plaid processor token and optionally include parameters to check the customer's account balance. We use the shopper's Plaid processor token to validate their account details with Plaid.
The following diagram illustrates this flow.
Before you begin
- Reach out to your Adyen contact to configure your Adyen account for collaboration with Plaid.
- Make sure that you have set up your back end implementation.
- Add ACH Direct Debit in your test Customer Area.
- Create an account with Plaid, and complete an application profile and a company profile.
Plaid will give you a
secretto make API calls to Plaid.
Check the shopper's processor token
It is possible that with a previous payment to you, the shopper connected their account to Plaid and you saved their Plaid processor token. If you don't have the shopper's Plaid processor token, you need to direct the shopper to the Plaid Link app and get their token.
Proceed as follows:
In your POST /paymentMethods request, make sure to use:
currency: set to USD.
countryCode: set to US.
When the shopper selects ACH Direct Debit, on your payment form collect:
- The account owner's name.
- The shopper's billing address (optional).
- Any other details you need to be able to look up this shopper in your database.
Based on the provided details, look up the shopper in your database and check if you have their Plaid processor token.
If you have the shopper's Plaid processor token, proceed to make a payment.
If you don't have the shopper's Plaid processor token, get it from Plaid:
Make a series of requests to Plaid from your backend:
- A POST
/link/token/createrequest to initialize the Plaid Link app and get a
- A POST
/item/public_token/exchangerequest with the
public_tokento get an
- A POST
/processor/token/createrequest with the
access_tokento get the shopper's
In the near future, Plaid will publish a page with instructions specifically for Adyen integrations.
- A POST
Save the shopper's processor token, and proceed to make a payment.
Make a payment
The ACH Direct Debit payment request must include the shopper's Plaid processor token. Optionally you can add parameters to check if the account balance meets specific conditions before trying an authorisation.
You can also tokenize the transaction for future recurring payments.
Proceed as follows:
From your server, make a POST /payments request.
Specify the following parameters:
Parameter Required Description
Set to ach.
Set to US.
The account holder name that you collected on your payment form when the shopper selected ACH Direct Debit.
The account owner's address information.
The shopper's Plaid processor token and any balance check parameters you want to use.
These are the Plaid parameters you can use in
The shopper's Plaid processor token that you received from Plaid and stored in your database.
Required for validation with Plaid.
A string value set to true if you want us to check the account balance.
A string value indicating the minimum amount available on the account, in minor units. Use only with
plaid.balanceCheckset to true.
For example, if the balance must be USD 10 or more, specify 1000. You can also use this in combination with
A string value indicating the condition that the account balance must at least be X times the payment amount.
plaid.minimumAmountis specified, indicates the condition that the account balance must at least be X times the specified minimum amount. For example, if the balance must be at least 2.5 times USD 10, set
plaid.balanceMultiplierto 2.5 and set
Check the /payments response.
additionalDataobject contains the validation result:
The date that the shopper gave permission to collect direct debit payments from their account.
The identification of the shopper's permission to collect direct debit payments from their account. This ID is the same as the PSP reference of the payment.
Indicates if the direct debit payments are recurring. Possible values: OneOff, First.
The account balance. Only included if the request has
plaid.balanceChecktrue. Note that the balance is not in minor units.
The last four digits of the shopper's bank account.
The result of the account validation and balance checks: Passed. If the validation fails, you receive an error message.
The details of the account validation result. For example:
Passed: Available Balance greater than threshold if you asked for a balance check with conditions.
Passed: Routing number and Account number successfully retrieved if you didn't ask for a balance check.
The shopper's Plaid processor token passed in the request.
Other parameters in the response include:
Our unique reference for the payment.
Authorised. This means that the payment has been successfully received by Adyen. However, it may take up to 5 business days to know whether the payment was authorized by the bank.
If you don't get an Authorised response, refer to Handle Plaid validation errors.
Handle Plaid validation errors
If the Plaid validation failed, you get an error response like the following example.
Make sure your integration can handle the following validation error responses:
|32_001 - Plaid service is currently unavailable||Try again later.|
|32_002 - Unknown error for Plaid||Try again later.|
|32_003 - Let the customer re-authenticate with Plaid||The shopper's Plaid processor token needs to be re-initialized. Direct the shopper to the Plaid Link update mode. The token itself doesn't change.|
|32_004 - No valid checking or savings accounts for which account and routing numbers could be retrieved||Ask the shopper to try another account or bank.|
|32_005 - Plaid internal error||Plaid was unable to process the request. Possible causes:
|32_006 - Plaid rate limit exceeded. Please try again later||Too many requests were made in a short period of time. Possible causes:
Present the payment result
resultCode values you can receive for ACH Direct Debit are:
|resultCode||Description||Action to take|
|Authorised||The payment has been successfully received by Adyen.
It may take up to 5 business days to know whether the payment was authorized by the bank. If the payment is successful, it will appear in the Settlement Detail Report. If it fails, you will receive a CHARGEBACK webhook.
|Inform the shopper that the payment was successful.|
|Refused||The payment was refused.||Ask the shopper to try the payment again using a different payment method.|
The ACH network is unable to provide real-time authorizations. This means that a payment can be reversed because of insufficient funds after the payment is authorized. Also, customers can ask for a refund up to 60 days after the payment is settled to your account.
You cannot defend against ACH Direct Debit chargebacks. Depending on the reason code, it may be allowed to retry the payment. For an overview of the chargeback process and reason codes, see ACH Direct Debit chargebacks.
Test and go live
Before you go live, create a Plaid developer account and run tests in the Plaid Developer environment.