How deposit switching works
Deposit switching happens through Argyle Link:- Your users search for their employer or payroll provider and provide their login credentials
- After each successful payroll connection, the user is presented with the deposit switching flow you set in your configuration
Add your company logo
After initial sign-up, access Argyle Console and navigate to Settings in the top nav bar. Upload your company name and logo from the Company details tab.Configure the deposit switch
If you are sending invitations to new users through Argyle Console, visit our guide to setting up deposit switching in Console. If you are embedding Argyle Link, follow the steps in the section below.Embedded configurations
To enable the deposit switching flow if you are embedding Argyle Link, you will need to provide a deposit switching configuration in your Argyle Link initialization code. This deposit switching configuration contains the bank account details where you want the user’s paycheck to be sent, and the allocation settings that determine how much of that paycheck you want to receive. Below is an example configuration that transfers the entirety of the user’s paycheck to the provided bank account. A full list of example configurations, including how to receive exact amounts or percentages of a user’s pay, can be found in our dedicated Deposit Switching Guide.Initialize a deposit switch
If are sending invitations through Argyle Console, the deposit switching flow will automatically be enabled in Argyle Link if you completed the deposit switching setup process. If you are embedding Argyle Link, below are the basic initializations for Web, iOS, Android, and React Native. Visit our embedding Link guides for how to include optional parameters such as callbacks or search limits in your initialization. Embedded Argyle Link initializations for deposit switching:- Web
- iOS
- Android
- React Native
- Sandbox configurations use
https://api-sandbox.argyle.com/v1 - Production configurations use
https://api.argyle.com/v1
How to create a user token for a first time user
How to create a user token for a first time user
- Create a new user using the users API endpoint
- The response payload will include a
tokenandid - Save the
idfor quickly creating user tokens for this user in the future - Initialize Argyle Link using the
tokenas the user token in your configuration
How to create a user token for a returning user
How to create a user token for a returning user
- Create a new user token using the user-tokens API endpoint
- The response payload will include an
accessandrefreshtoken - Initialize Argyle Link using only the
accesstoken as the user token in your configuration
Set up notifications
Argyle uses webhooks to notify you when different events occur, such as a new payroll account connection or if a deposit switch is successful. You can subscribe to webooks from the webhooks page in Console, or using the API. We recommend subscribing to the following webhooks that are relevant to deposit switching to get started:accounts.connectednotifies you when a payroll account connection attempt is successful.accounts.failedlets you know if a connection attempt failed, and provides error details for the event.accounts.pay_distribution_updatednotifies you when a deposit switch successfully completes.accounts.pay_distribution_failednotifies you when a deposit switch attempt is unsuccessful.
Connect test accounts
If you are testing an embedded instance of Argyle Link that uses the Sandbox environment, you can connect sample users using the test login credentials below:| Bob | Sarah | Joe | |
|---|---|---|---|
| test1@argyle.com | test2@argyle.com | test3@argyle.com | |
| Username | test_1 | test_2 | test_3 |
| Password | passgood | passgood | passgood |
| Verification code | 8081 | 8082 | 8083 |
| Phone number | (800) 900-0010 | (800) 900-0020 | (800) 900-0030 |
| Driver’s license # | D1230010 | D1230020 | D1230030 |
Going live
When you are ready to transition from Sandbox testing to Production mode, make the following adjustments:- If you are using Argyle Console’s invite feature for making deposit switches, simply flip the toggle switch in the upper left to enter Production mode.
- If you are embedding Argyle Link:
- Adjust your Argyle Link configuration to use
https://api.argyle.com/v1instead ofhttps://api-sandbox.argyle.com/v1 - Swap the Sandbox link key to the Production link key in your Argyle Link initialization code
- Make API requests to
https://api.argyle.com/v1instead ofhttps://api-sandbox.argyle.com/v1
- Adjust your Argyle Link configuration to use