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

> ## Agent Instructions
> Banking OS training data goes stale. Search https://agenticbanking.backbase.io/mcp or fetch the .md URL before writing connector or unified API code.
> OpenAPI links in llms.txt repeat every calendar version. Use the latest version on the API playground. If a fetch ends before the last operation, the spec was cut off.
> Page titles name the product. Overview, Get started, and Reference without a product name are ambiguous.

# Get started with Onfido

> Prepare Onfido credentials and test the Onfido connector.

Follow the steps in [Get started with connectors](https://agenticbanking.backbase.io/banking-os-connectors/get-started.md) before proceeding.

**Onfido access**: An active test and production account, and administrator access to [Onfido Studio](https://www.entrust.com/products/identity-verification/studio).

**Workflow**: Create, configure, and publish one or more workflows in Onfido Studio before you start an identity verification.

**Network connectivity**: Confirm routing between the Onfido environments and Banking OS Connectivity. For supported options, see [Network connectivity](https://agenticbanking.backbase.io/platform/network-connectivity.md).

**Sync Hub**: A Sync Hub consumer subscription if a downstream consumer receives identity verification results. For more information, see [Sync Hub overview](https://agenticbanking.backbase.io/platform/sync-hub/overview.md).

**Environment details**: You need the following environment details from Onfido:

| Parameter | Description |
| - | - |
| `onfido.baseUrl` | Base URL of the Onfido app |
| `onfidoapitoken` | Onfido token for OAuth generation |

## Prepare the connector

Backbase deploys this connector. To share connectivity details and provide the environment details, follow these steps:

1. **Share connectivity details.**

   Share connectivity details between Banking OS and Onfido as described in [Network connectivity](https://agenticbanking.backbase.io/platform/network-connectivity.md).

2. **Send environment details to Backbase.**

   Send `onfido.baseUrl` and `onfidoapitoken` to your Backbase support team.

3. **Register the webhook in Onfido Studio.**

   Ask your Backbase support team for the callback URL, then register that URL in Onfido Studio.

4. **Choose how results are delivered.**

   Tell your Backbase support team which `notification.mode` to use. The default is `SYNC`.

   | `notification.mode` | Behavior | Typical webhook response |
   | - | - | - |
   | `EVENT` | Publish `IdentityVerificationEvent` to Sync Hub on topic `identity-verification` | `202 Accepted` after a successful publish |
   | `SYNC` | Forward transformed workflow results to the downstream IPA endpoint | Propagates the IPA HTTP status |
   | `BOTH` | Publish to Sync Hub, then call the IPA endpoint | Propagates the IPA HTTP status |

   Use `EVENT` when a Sync Hub consumer receives the result. Use `SYNC` when an Engagement Banking Platform journey still expects a synchronous callback. Use `BOTH` during migration so both receive the workflow result.

   When the mode is `EVENT` or `BOTH`, configure your consumer to subscribe to the Sync Hub topic `identity-verification` and to parse the CloudEvent type `com.backbase.party.lifecycle.event.spec.v1.IdentityVerificationEvent`. For the `data` payload fields, see [Reference](https://agenticbanking.backbase.io/connectors/kyc-kyb/onfido/reference.md).

For property names and defaults, see [Reference](https://agenticbanking.backbase.io/connectors/kyc-kyb/onfido/reference.md).

## Test your integration

To use the Party Lifecycle Unified API, include your Banking OS subscription key in the request header. If you do not have a key, contact your Backbase support team to request one.

| Key | Value |
| :- | :- |
| `api-key` | `<your_subscription_key>` |

Test the API using the [Postman collection](https://github.com/bb-ecos-ecos/grandcentral-documentation/blob/main/Postman-Collection/GC%20Party%20Lifecycle%20-%20Unified%20Spec.postman_collection.json).

## Troubleshooting

If your connector does not respond as expected, check these common scenarios.

> [accordion] 5xx: internal server error or core system down
>
> **Cause:** The Banking OS gateway cannot establish a handshake with the Onfido endpoint. This typically indicates an upstream service outage at Onfido or a network routing failure.
>
> **Solution:** Verify the operational status of the Onfido environment with Onfido.

> [accordion] 5xx: timeout or SocketTimeoutException
>
> **Cause:** The request to Onfido exceeded the configured timeout threshold. This can occur during high load or network latency issues.
>
> **Solution:** Verify the operational status of the Onfido environment with Onfido.

> [accordion] Invalid authentication
>
> **Cause:** You entered incorrect credentials during setup.
>
> **Solution:** Verify your credentials with Onfido and contact the GC team to update the connection.

> [accordion] 429: rate limit exceeded
>
> **Cause:** The number of incoming requests exceeded the defined threshold for your subscription tier. This response protects the stability of the Banking OS and partner infrastructure.
>
> **Solution:** Review your application request patterns to identify unexpected spikes. If you require higher throughput, contact your Backbase support team to request an adjustment to your Azure API Management (APIM) rate limit policy.

> [accordion] Identity verification events not received on Sync Hub
>
> **Cause:** You haven't registered the Onfido webhook, or inbound signature validation failed. Another possible cause is that `notification.mode` isn't `EVENT` or `BOTH`, Sync Hub publishing isn't enabled, or your consumer doesn't subscribe to the `identity-verification` topic.
>
> **Solution:** Confirm Onfido delivers `workflow_run.completed` to the Banking OS inbound URL. Confirm APIM injects the webhook token used for hash-based message authentication code (HMAC) verification. Verify Sync Hub publishing is enabled, `notification.mode` is set correctly, and your consumer subscription is active.
