---
title: "Update the Onfido SDK Outcome"
method: PATCH
path: "/v1/accounts/{account_id}/onfido/sdk"
tags: ["KYC"]
---

# Update the Onfido SDK Outcome

`PATCH /v1/accounts/{account_id}/onfido/sdk`

This request allows you to send Alpaca the result of the Onfido SDK flow in your app. A notification of a successful outcome is required for Alpaca to continue the KYC process.

## Request body

- object
  - `outcome` string, required — "NOT_STARTED" The user has not started the SDK flow yet. outcome is set to this default value upon token generation "USER_EXITED" The user exited the SDK flow "SDK_ERROR" An error occurred in the SDK flow "USER_COMPLETED" The user completed the SDK flow
  - `reason` string — Any additional information related to the outcome
  - `token` string, required — The SDK token associated with the SDK flow you are updating the outcome for

## Response `200`

OK

## Other responses

- `404` — Account Not Found
- `422` — Invalid input value for outcome.

---

[API](https://skmtc.net/alpacahq/apis/gift-city-extensions-api.md) · [All operations](https://skmtc.net/alpacahq/apis/gift-city-extensions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alpacahq/gift-city-extensions-api/revisions/62e3378bb273/schema)
