---
title: "Mock finalize pending"
method: POST
path: "/api/v1/sub-accounts/test/{sub_auth_id}/kyc/finalize-pending"
tags: ["Sub-Account KYC (Test Mode)"]
---

# Mock finalize pending

`POST /api/v1/sub-accounts/test/{sub_auth_id}/kyc/finalize-pending`

## Request

- Base URL: `https://api.vobiz.ai`
- URL: `https://api.vobiz.ai/api/v1/sub-accounts/test/{sub_auth_id}/kyc/finalize-pending`
- Auth: API key in header `X-Auth-ID` and API key in header `X-Auth-Token`
- TypeScript: <https://skmtc.dev/vobiz/apis/vobiz-api/docs/api/v1/sub-accounts/test/:sub_auth_id/kyc/finalize-pending/post.ts> (a function with typed inputs; its response is checked against the schema)

Promotes the most recent **pending** mock verification of the given
type to a terminal outcome — this drives the async (`TESTPENDING…`)
path without webhooks. `verification_type` ∈ `pan | aadhaar | gst | cin`;
`outcome` ∈ `verified | failed`.

## Path parameters

- `sub_auth_id` string, required

## Request body

- object
  - `verification_type` 'pan' | 'aadhaar' | 'gst' | 'cin', required
  - `outcome` 'verified' | 'failed', required

## Response `200`

Pending verification finalized

- KycVerificationResult: Outcome of a single KYC verification step.
  - `verification_type` 'pan' | 'gst' | 'cin' | 'aadhaar', required
  - `status` 'verified' | 'failed' | 'pending', required
  - `kyc_calls_blocked` boolean: Recomputed sub-account call-blocking state after this verification.
  - `mock` boolean: Present and `true` on responses from the test-mode endpoints.

---

[API](https://skmtc.dev/vobiz/apis/vobiz-api.md) - [All operations](https://skmtc.dev/vobiz/apis/vobiz-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vobiz/apis/vobiz-api/revisions/863f08cd6737?raw)
