> ## Documentation Index
> Fetch the complete documentation index at: https://docs.argyle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Unit Pay Connector

> Implement a solution for payment reconciliation with Argyle.

![Cover image showing income being distributed to make a loan payment.](https://res.cloudinary.com/argyle-media/image/upload/f_auto/v1656517674/docs-readme/unit-pay-connector-cover)

The Unit Pay Connector sample app creates virtual accounts for payment reconciliation purposes. If you are utilizing Argyle for paycheck-linked lending, you can use this connector to reconcile payments from multiple payroll providers and attribute them to the correct borrowers.

## Unit

This sample app utilizes [Unit](https://www.unit.co/), a banking-as-a-service platform that lets you embed powerful financial features into your product. You will need to sign up for a Unit account to implement this sample app. Your Argyle Customer Success Manager can guide you through the Unit onboarding process so you can get up and running quickly.

## Connect payroll accounts

Unit Pay Connector fits seamlessly into a workflow for account connection between Argyle Link—a front-end UI element that allows users to grant your application access to their payroll accounts—and a banking application. See the example below to understand how your users can connect their employer or payroll accounts with Link so you can reconcile payments.

![Image showing the payroll connection process a user goes through in Link.](https://res.cloudinary.com/argyle-media/image/upload/f_auto/v1661338798/docs-v2/20220824_Unit_pay_connector_flow_1)

## Access payroll data and make a deposit switch

Once a user has connected their employer or payroll account via Link, you can retrieve their employment data via the Argyle API for loan decisions. You can initialize Link for [deposit switching](/workflows/deposit-switching) after you have approved a loan.

Once you have approved the loan, a new deposit account with account and routing numbers is generated via the Unit API. You can now see this account in the Unit dashboard.

![Image showing Unit's dashboard.](https://res.cloudinary.com/argyle-media/image/upload/f_auto/v1656519411/docs-readme/unit-account-screen)

## Deposit switch confirmation

Following loan approval and deposit account creation, the Unit Pay Connector generates a new [target deposit destination](/workflows/deposit-switching#structure-a-target-deposit-destination) that includes the bank account settings. This configuration is automatically assigned to the user's employment or payroll provider account:

![Image showing the bank account details that go into a target deposit destination configuration.](https://res.cloudinary.com/argyle-media/image/upload/f_auto/v1656683704/docs-readme/Unit_V2)

The user selects **Confirm** to accept the deposit account:

![Argyle's deposit switch process in Link.](https://res.cloudinary.com/argyle-media/image/upload/f_auto/v1669076916/docs-2022/Guides/Argyle%20Link/Advanced%20Link%20Flows/Direct%20deposit%20switching/DDS_partial_paycheck_exact)

Loan installments are now automatically deducted from the user's payroll. Once the loan is repaid, you can [remove the bank account](/workflows/deposit-switching#remove-a-bank-account).

## Next steps

Visit the [Unit Connector Github repository](https://github.com/argyle-sample-apps/unit-connector) to clone and test the application in your local development environment.

<Note>
  For more details, reach out to your respective Customer Success Manager, Account Executive or the Support team.
</Note>
