- The loan applicant connects their payroll accounts through Argyle Link.
- Argyle retrieves their income and employment information, which is used to make a loan decision.
- The loan applicant returns to Argyle Link and accepts a new loan-matching paycheck allocation.
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.Initialize Argyle Link
Argyle Link is the portal through which your applicants connect their payroll accounts.- Follow the steps below to embed Argyle Link in your website or application.
- Alternatively, you can use Argyle Console to invite applicants via text or email. The invitation will include a URL that will connect the applicant to Argyle Link directly.
Embedded Link configurations
Visit our embedding Link guides for Web, iOS, Android, and React Native to see how to include optional configuration parameters such as callbacks and search limits. Basic configurations for connecting payroll accounts:- 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
Connect test accounts
If you are testing an embedded instance of Argyle Link that uses the Sandbox environment, you can connect sample applicants using the test login credentials below. These credentials will also work if you are using Flows in Argyle Console for testing.| 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 |
View data retrieval status
Argyle begins data retrieval immediately when a payroll account is successfully connected. The time it takes for all data to finish syncing depends on the length of employment:status field of the availability object. We recommend including the optional onAccountConnected callback in your Link configuration to make automating this process easier.
Retrieve payroll data
If you are using Console to retrieve payroll data, navigate to the Connections page and click on an individual user to view data from their connected payroll accounts. If you are using the API to retrieve payroll data, visit our API Reference for more information.Retrieving employment data using the API (example)
Retrieving employment data using the API (example)
- Make a GET request to the employments API endpoint
- (Optional) Include the query parameter account with the value
accountId
- The
accountIdis the ID of the recently connected payroll account - If you included the
onAccountConnectedcallback in your Link configuration, the callback automatically returns thisaccountIdevery time a user connects a new payroll account - You can also use the accounts API endpoint to find the
accountIdfor the user
Retrieving pay data using the API (example)
Retrieving pay data using the API (example)
- Make a GET request to the payouts API endpoint
- A payout is the equivalent of a single paystub. You can also use the income totals API endpoint for yearly pay totals.
- (Optional) Retrieve all payouts over a certain time period by include the
from_start_dateandto_start_datequery parameters - (Optional) Add the
accountquery parameter to retrieve the payouts for an individual payroll account
Configure the deposit switch
At this point in the process, the applicant will have connected their payroll accounts and been approved for a loan based on their income data. You would now re-initialize Argyle Link for the same applicant and include a deposit switch configuration in your Link initialization code if you are embedding Argyle Link, or send the applicant another invite through Argyle Console after setting up deposit switching for invites. To set up your deposit switch configuration 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 an exact amount ($177) of the applicant’s paycheck to the provided bank account. A full list of example configurations 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 when you resend an invitation to the applicant if you completed the deposit switching setup process. If you are embedding Argyle Link:-
Create a new user token for the returning applicant
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
- Replace the previous user token in your original Link initialization code with the new user token
-
Add these two deposit switching parameters to your Link initialization:
payDistributionUpdateFlowandpayDistributionConfig. See the example Link initializations below for examples of how to add them to each platform.- Pay Distribution Update Flow — Enables the deposit switching flow in Argyle Link.
- Pay Distribution Config — Where you pass your encrypted deposit switching configuration. For our $177 paycheck allocation example, you would include the following:
- (Optional) You can also add a parameter to your Link initialization that directly connects the applicant to one of their connected payroll accounts. This can be useful to ensure the connected payroll account supports your specific deposit switching configuration. Visit our Deep Linking Guide for more information on initializing Argyle Link with direct connections.
- Web
- iOS
- Android
- React Native
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 paycheck-linked lending 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.payouts.partially_syncednotifies you when pay data is available for a specified number of days_synced — one month, one year, or two years, for example.users.fully_syncednotifies you when data retrieval has fully completed for all payroll accounts successfully connected by the applicant.accounts.pay_distribution_updatednotifies you when a deposit switch successfully completes.accounts.pay_distribution_failednotifies you when a deposit switch attempt is unsuccessful.
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, 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