- Verify income and employment with real-time data
- …where data is sourced directly from your applicants’ payroll providers
- …in order to increase your conversion, reduce risk, and lower costs for your business.
Add your company logo
After initial sign-up, access Argyle Console and navigate to Settings in the left sidebar. Make your first customization of Argyle Link by uploading 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:- 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
In Argyle Link, your applicant would search for their employers or payroll providers and enter their login credentials to connect their accounts. Once successfully connected, Argyle retrieves the data from the connected payroll accounts and makes it available through Console or the API. When the Sandbox environment is used, you can connect sample users to different payroll accounts through your embedded instance of Argyle Link (or Flows in Console) using the test 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 |
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.
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
Simulate a data update
For real payroll accounts connected using the Production environment, Argyle periodically scans for any new available data and makes it available through Console or the API. For testing purposes, you can manually simulate a data update in Sandbox via the API. The steps below will return 1-5 new payouts and activities for the payroll account of a Sandbox test user.-
Send a POST request with an empty body to
https://api-sandbox.argyle.com/v1/accounts/<account_id>/periodic_scan -
Swap out the
<account_id>in the request with the ID of the Sandbox account you want to receive the new data
This method is often used for webhook testing.
Set up notifications
Argyle uses webhooks to notify you when different events occur, such as a new payroll account connection or new data becoming available for an already connected payroll account. You can subscribe to webooks from the webhooks page in Console, or using the API. We recommend subscribing to the following webhooks 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.employments.addedwill notify you if a user’s employment information changes, for example as a result of them switching jobs or a change in their base pay.payouts.partially_syncednotifies you when pay data is available for a specified number ofdays_synced— one month, one year, or two years, for example.
Going live
When you are ready to transition from Sandbox testing to connecting real payroll accounts in Production mode, make the following adjustments:If you are using Argyle Console to send invites and view payroll data, simply flip the toggle switch in the upper left.
-
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 configuration
-
Make API requests to
https://api.argyle.com/v1instead ofhttps://api-sandbox.argyle.com/v1