> ## 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.

# Banking Verifications

> Order asset, income, and transaction reports from financial accounts.

Use a banking verification when the user will connect financial accounts and share the information required for an asset, income, or transaction report.

## Create or re-use a user

If the person already has an Argyle user with your organization, reuse that user ID across payroll, banking, and document workflows. [Update the existing user](https://docs.argyle.com/api-reference/users/update-a-user.md) with any missing banking details before ordering the verification.

Banking verifications require:

* `first_name` and `last_name`.
* `address`.
* Either `ssn` or `birth_date`.
* Either `email` or `phone_number`.

For a new user, send the following body to [`POST /v2/users`](https://docs.argyle.com/api-reference/users/create-a-user). This example uses `birth_date` and `email`.

```json theme={}
{
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "jane@example.com",
  "address": {
    "city": "New York",
    "line1": "123 Main St",
    "state": "NY",
    "country": "US",
    "postal_code": "10001"
  },
  "birth_date": {
    "year": 1990,
    "month": 1,
    "day": 13
  }
}
```

Store the returned user `id` and use it as `user` when ordering the verification below.

## Order a banking verification

* `voa` — Verification of Assets.
* `voai` — Verification of Assets and Income.
* `voi` — Verification of Income.
* `voe-transactions` — Verification of Employment based on transaction data.

Send the following body to [`POST /v2/verifications`](https://docs.argyle.com/api-reference/verifications/order-a-verification). Select the report type in `report.type`. The optional `report.configuration` object can define the history start date, income confidence threshold, and report custom fields.

```json theme={}
{
  "user": "018051aa-f7a9-a0db-2f38-6cfa325e9d69",
  "report": {
    "type": "voai",
    "configuration": {
      "from_date": "2024-01-01T00:00:00Z",
      "income_stream_confidence_minimum": 50,
      "report_custom_fields": [
        {
          "label": "loanID",
          "value": "12345",
          "shown": true
        }
      ]
    }
  }
}
```

## Choose a session type

After ordering the verification, create an embedded session, send an invite, or create an invite link.

![A user connects financial accounts for a banking verification.](https://mintcdn.com/argyle/EtHVUNI_SMseJQur/images/argyle-guides/api-ref/banking-reports/1-banking.png?fit=max\&auto=format\&n=EtHVUNI_SMseJQur\&q=85\&s=e3e171f6dad5485eae24082b36fa81a9)

### Embedded banking

Create a session with [`POST /v2/sessions`](https://docs.argyle.com/api-reference/verifications/create-a-session), then pass the returned session `link` to the banking SDK as `connectURL`.

> [!NOTE]
>
> To start the banking session in Spanish, set `configuration.language` to `"es"` when creating the session. Omit it for English. Other languages, including `"en"`, return `400 Bad Request`.

Use SDK callbacks for immediate frontend handling. Subscribe to the [`verifications.updated`](https://docs.argyle.com/api-reference/verifications-webhooks/updated) webhook for backend lifecycle tracking.

For SDK installation and configuration options, see the [banking SDK documentation](https://developer.mastercard.com/open-finance-us/documentation/connect/integrating/sdk/web-sdk/sdk/).

> [accordion] Banking SDK example
>
> ```html theme={}
> <div id="connect-container"></div>
>
> <script type="module">
>   import { Connect } from 'https://cdn.openbanking.mastercard.com/js/connect-web-sdk@2.2.0/mastercard-connect-esm.min.js'
>
>   const connectURL = 'SESSION_LINK'
>   const eventHandlers = {
>     onDone: event => console.log('Connection successful', event),
>     onCancel: event => console.log('User cancelled', event),
>     onError: event => console.log('Banking flow error', event)
>   }
>
>   Connect.launch(connectURL, eventHandlers, {
>     popup: false,
>     selector: '#connect-container'
>   })
> </script>
> ```

### Invites

Create an invite session with `type = invite` and the user ID. Include `configuration.email`, `configuration.phone_number`, or both to send the invite by email or SMS. Omit both to share the returned `link` yourself. The user must have an active banking verification. The invitation opens a hosted connection flow, so no frontend SDK initialization is required.

> [!NOTE]
>
> Banking invites and other hosted or no-SDK banking paths must be enabled by Argyle before use. Contact your Argyle Customer Success Manager before using one of these paths.

See the [Quickstart invite example](https://docs.argyle.com/verifications/quickstart.md#invites).

## Result

Wait for the [`verifications.updated`](https://docs.argyle.com/api-reference/verifications-webhooks/updated) webhook. When the verification reaches `completed` or `completed_with_errors`, retrieve the report from `report.file_url` or `report.json_url`.

* See [Verification Statuses](https://docs.argyle.com/verifications/verification-statuses.md).
* Review the [banking report examples](https://docs.argyle.com/verifications/reports-and-source-documents.md#banking-voa).
* Use the [banking test profiles](https://docs.argyle.com/verifications/testing.md#banking-test-profiles).
