processor_token
which can be sent to Treasury Prime as part of the Counterparty object in place of account and routing numbers.
More information on using Plaid’s Treasury Prime Integration–including sample code–can be found at https://plaid.com/docs/auth/partnerships/treasury-prime/
Production Implementation
The requirements for implementing the Plaid integration for Treasury Prime largely revolve around the configuration and use of the Plaid Link client-side component. This topic is covered in great detail in Plaid’s documentation and in the examples provided in their Treasury Prime integration guide. It is recommended that you review these documents in order to understand the process of implementing Plaid Link and obtaining aprocessor_token
prior to beginning this guide.
Once you have completed the steps to authenticate your user using Plaid Link and have obtained a processor_token
, you are ready to create a Counterparty which can be used to send ACH payments to the linked account. Note in the example below that you are not required to pass an account or routing number when creating the Counterparty, just the plaid_processor_token
. When the Counterparty is created, Treasury Prime will exchange this token with Plaid to obtain the necessary details to send payments to the linked account.
Example Request to Create a Counterparty using a Plaid processor_token
Example Response
Supported Payment Types
The Plaidprocessor_token
can be used in the creation of counterparties for sending ACH payments only. The integration with Plaid does not currently support the creation of counterparties used for sending wires.
Testing in Sandbox
https://plaid.com/docs/api/sandbox/ While you can test the Treasury Prime Plaid Integration in the Developer Sandbox using the same steps outlined above for the production environment, Plaid has provided some shortcuts in their own sandbox environment to make generating and testing aprocessor_token
even easier. The steps below outline the process of creating a Plaid processor_token
without requiring the integration and use of the Plaid Link component. This is useful for initial testing and prototyping while working in the Treasury Prime Developer Sandbox, but will not function in a production environment. The steps for obtaining the Plaid processor_token
and creating a Counterparty object using the Plaid and Treasury Prime sandbox environments are outlined below.
1. Retrieve client_id
and Secret for Plaid Sandbox
Log into your Plaid account, and locate the client_id
and sandbox secret
from the dashboard. If you do not already have a Plaid account, you can create one here.
