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

# User Connection unsuccessful: applicant uploads payslips

> Income verified. Replay it in sandbox with a test persona.

> [!NOTE]
>
> Draft, needs review: the step text is a first draft. The test personas come from the `staging-lucho` catalogue; personas added to it since are not listed yet. Snapshot of 2026-12-02.

The payroll provider rejects the applicant's sign-in. The applicant opens "Having trouble signing in?", chooses to upload payslips, and either has a full history (result, then the summary) or is told some pay periods are missing, continues anyway and tells Teal there is no more information. They confirm the summary and finish.

**Outcome:** Income verified. **Shown for:** Standard, Full evidence.

## Setup needed

* User Connections: on
* Payslips (Doc Scan): on

Set these in the Console under **Settings**, then **Configuration**. Direct Connections is always on.

## Test persona

Test persona:

No applicant identity needed for this path.

## Start the journey

> [tab] Console
>
> 0. In the Console, open **Settings**, then **Configuration**, and turn on the sources above. Click **Publish changes**.
>
>    ![Console: choose the sources: Settings, then Configuration: the income sources the applicant is offered.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/configuration--products-with-refusal--06-settingsConfig-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=787c55ea8b68ea4680120e8c689755f9)
>
>    choose the sources (Console)
>
> 1. In the Console, open **Users** and click **Create new user**.
>
> 2. Enter the persona's **Forename**, **Surname**, **Date of birth**, **Postcodes** and, if it has one, **NI number**. Leave the user's source switches matching the setup above. Click **Create user**.
>
>    ![Console: create the user: Users, then Create new user: the applicant's details and their sources.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/applicant-create--user-connection-only--08-userCreate-filled.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=f45c2bd7b42a979b61068c4a6dee5f2e)
>
>    create the user (Console)
>
> 3. The Console shows the link for the new user. Click **Copy link** (later, open the user and click **Share links**).
>
>    ![Console: copy the link: The link for the new user. Send it to the applicant.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/applicant-create--user-connection-only--09-shareLink-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=964141e160a89e96c0135dbbcc98f51a)
>
>    copy the link (Console)
>
> 4. Open the link in a private browser window. You're now the applicant.

> [tab] API
>
> Create the user with the persona's details, then create a link for it. Replace `<your-sandbox-api-key>` with your own sandbox key.
>
> ```bash Create the user theme={null}
> curl --request POST \
>   --url https://api.sandbox.goteal.co/users \
>   --header 'Content-Type: application/json' \
>   --header 'X-API-KEY: <your-sandbox-api-key>' \
>   --data '{
>   "forename": "<forename>",
>   "surname": "<surname>",
>   "date_of_birth": "<date of birth>",
>   "post_codes": [
>     "<postcode>"
>   ],
>   "payroll_period_months": 12,
>   "payroll_connections_enabled": true,
>   "payslip_upload_enabled": true
> }'
> ```
>
> ```bash Create a link for the user theme={null}
> curl --request POST \
>   --url https://api.sandbox.goteal.co/user-tokens \
>   --header 'Content-Type: application/json' \
>   --header 'X-API-KEY: <your-sandbox-api-key>' \
>   --data '{"user_id": "<user_id from the first response>"}'
> ```
>
> Open the `webapp_link` from the response in a private browser window. The applicant gives consent on the first screen, which records the authorisation (`POST /authorisations`).

## Steps

The paths split below. Each tab is one path, most common first.

> [tab] Path 1 (70%)
>
> **1. Payroll sign-in**
>
> ![Payroll sign-in: "Sign in to \<provider>": the applicant signs in with the details they use for their payslips. A rejected sign-in stays on this screen with "That didn't work. Check your password".](https://mintcdn.com/teal/VHUQQHicSg8KSjKe/images/journeys/uc-fail-payslips/rejected-upload-full-history--08-signin-rejected.webp?fit=max\&auto=format\&n=VHUQQHicSg8KSjKe\&q=85\&s=c797b0ab8ec7b66d957f72627168d819)
>
> "Sign in to \<provider>": the applicant signs in with the details they use for their payslips. A rejected sign-in stays on this screen with "That didn't work. Check your password".
>
> **Do:** Sign in with the persona's details. The sign-in is rejected; click "Having trouble signing in?". Username: `scraper-wrong-password`. Password: `persona-password`.
>
> **Next:** Other ways to share income.
>
> **2. Other ways to share income**
>
> ![Other ways to share income: Shown after "Having trouble signing in?", or as "We couldn't connect to \<provider>" when the provider is unavailable: the other ways to share income that are on (HMRC, payslips), and resetting the password.](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-full-history--09-options-empty.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=00df99e6d38ad8973fd9b694e8e48d71)
>
> Shown after "Having trouble signing in?", or as "We couldn't connect to \<provider>" when the provider is unavailable: the other ways to share income that are on (HMRC, payslips), and resetting the password.
>
> **Do:** Click "Upload your payslips".
>
> **Next:** Upload payslips.
>
> **3. Upload payslips**
>
> ![Upload payslips: "Add your payslips" from the period you check, as PDFs. When months are still missing it shows "More payslips needed" and the missing months.](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-full-history--10-upload-empty.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=08344cde23a1c22b11e207f04395231f)
>
> "Add your payslips" from the period you check, as PDFs. When months are still missing it shows "More payslips needed" and the missing months.
>
> **Do:** Upload the persona's payslip files and click "Continue". Files: payslip-\*.pdf.
>
> **Next:** Result.
>
> **4. Result**
>
> ![Result: Teal reads the connection or upload ("Collecting your payslips. This can take a minute.", then "Signed in. Done.") and moves on by itself. If it fails, it says so ("Problems connecting your account").](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-full-history--11-result-transient.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=70335a9a3f5835d086af43bb732a0932)
>
> Teal reads the connection or upload ("Collecting your payslips. This can take a minute.", then "Signed in. Done.") and moves on by itself. If it fails, it says so ("Problems connecting your account").
>
> **Do:** Wait. The next screen opens by itself.
>
> **Next:** Check what you'll share.
>
> **5. Check what you'll share**
>
> ![Check what you'll share: Everything that will be shared with you (income sources, documents, any months still missing), with "Add another income source".](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-full-history--12-summary-empty.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=c960622167fcbf14af178c8f582fe847)
>
> Everything that will be shared with you (income sources, documents, any months still missing), with "Add another income source".
>
> **Do:** Click "Confirm and share".
>
> **Next:** Done.
>
> **6. Done**
>
> ![Done: "Done. Your income has been shared with \<your company>." With a return address the applicant goes back to your app instead.](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-full-history--13-done-empty.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=c7d37d65e549bc020091eb387e8b82ec)
>
> "Done. Your income has been shared with \<your company>." With a return address the applicant goes back to your app instead.
>
> **Do:** Click "Close", or "Back to" your app.

> [tab] Path 2 (30%)
>
> Test persona:
>
> No applicant identity needed for this path.
>
> **1. Payroll sign-in**
>
> ![Payroll sign-in: "Sign in to \<provider>": the applicant signs in with the details they use for their payslips. A rejected sign-in stays on this screen with "That didn't work. Check your password".](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-gaps--08-signin-rejected.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=f1d2e8afedf4cbd5db32c737b271a6f0)
>
> "Sign in to \<provider>": the applicant signs in with the details they use for their payslips. A rejected sign-in stays on this screen with "That didn't work. Check your password".
>
> **Do:** Sign in with the persona's details. The sign-in is rejected; click "Having trouble signing in?". Username: `scraper-wrong-password`. Password: `persona-password`.
>
> **Next:** Other ways to share income.
>
> **2. Other ways to share income**
>
> ![Other ways to share income: Shown after "Having trouble signing in?", or as "We couldn't connect to \<provider>" when the provider is unavailable: the other ways to share income that are on (HMRC, payslips), and resetting the password.](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-gaps--09-options-empty.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=504d4f98a35e83bb785c9f3c0f669c6a)
>
> Shown after "Having trouble signing in?", or as "We couldn't connect to \<provider>" when the provider is unavailable: the other ways to share income that are on (HMRC, payslips), and resetting the password.
>
> **Do:** Click "Upload your payslips".
>
> **Next:** Upload payslips.
>
> **3. Upload payslips**
>
> ![Upload payslips: "Add your payslips" from the period you check, as PDFs. When months are still missing it shows "More payslips needed" and the missing months.](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-gaps--11-upload-outcome.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=55fb9c6234ef74fed62a6ad8e5d63731)
>
> "Add your payslips" from the period you check, as PDFs. When months are still missing it shows "More payslips needed" and the missing months.
>
> **Do:** Upload the persona's payslip files and click "Continue". Files: payslip-\*.pdf.
>
> **Next:** Missing pay periods.
>
> **4. Missing pay periods**
>
> ![Missing pay periods: "We're missing a few months": the missing months, and the sources that can fill them (payslips, HMRC), or "Finish without them".](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-gaps--12-payrollGapsOptions-empty.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=a36d8a024132e21bb0a2699538f03b3b)
>
> "We're missing a few months": the missing months, and the sources that can fill them (payslips, HMRC), or "Finish without them".
>
> **Do:** Click "Finish without them".
>
> **Next:** Check what you'll share.
>
> **5. Check what you'll share**
>
> ![Check what you'll share: Everything that will be shared with you (income sources, documents, any months still missing), with "Add another income source".](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-gaps--13-summary-empty.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=3bd3258e44bae0a057310d28b7a8dedb)
>
> Everything that will be shared with you (income sources, documents, any months still missing), with "Add another income source".
>
> **Do:** Click "Confirm and share".
>
> **Next:** Done.
>
> **6. Done**
>
> ![Done: "Done. Your income has been shared with \<your company>." With a return address the applicant goes back to your app instead.](https://mintcdn.com/teal/JHEQ8Y41w7wIko_W/images/journeys/uc-fail-payslips/rejected-upload-gaps--14-done-empty.webp?fit=max\&auto=format\&n=JHEQ8Y41w7wIko_W\&q=85\&s=f76159b0abcdb143714df311559b8286)
>
> "Done. Your income has been shared with \<your company>." With a return address the applicant goes back to your app instead.
>
> **Do:** Click "Close", or "Back to" your app.

## Check the result

Expected outcome: **Income verified**.

* **Console:** open **Users**, find the persona and open the user to see what was shared.

  ![Console: see the result: The user's page: who they are, their employer and the income they shared.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/applicant-review--download-payslip-report--08-userDetail-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=a9217b2ff46da213fb5c6e63864b749f)

  An example user page (Console). Yours shows this persona and this journey's outcome.

* **API:**

```bash theme={null}
curl --request GET \
  --url https://api.sandbox.goteal.co/payroll/<user_id> \
  --header 'X-API-KEY: <your-sandbox-api-key>'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.