> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/verify/document-ai/ocr-and-document-verification/ocr-and-document-verification-v2/summary-endpoint/id-verification/passports.md).

# Passports

{% hint style="info" %}
**Note:** Passport do not have a IQA response with them.
{% endhint %}

### Request

<details>

<summary>Request</summary>

```json
{
    "operations": ["idVerification"],
    "payload": {
        "partnerTrxId": "{{$guid}}",
        "groupId":"{{$guid}}",
        "country": "IND",
        "idType": "PASSPORT",
        "idSubtype": "N/A",
        "idFrontSideImage":"Base64 encoded image of passport front side"
      },
      "userConsent": {
        "userIp": "226.80.211.232",
        "country": "IND",
        "obtained": true,
        "obtainedAt": "1680700959"
    }
```

</details>

### Success Response

HTTP Status Code: `200`&#x20;

<details>

<summary>Success JSON Response</summary>

```json
{
    "transactionId": "unique transaction id generated to identify this transaction",
    "partnerTrxId": "partner transaction id submitted by customer in request",
    "groupId": "partner group id submitted by customer in request",
    "card": {
        "country": "Romania",
        "type": "PASSPORT",
        "isoAlpha3CountryCode": "ROU",
        "isoAlpha2CountryCode": "RO"
    },
    "idVerificationResult": {
        "front": {
            "statusCode": 5000
        }
    }
}
```

</details>

### Spoof Response

HTTP Status Code: `400`

<details>

<summary>Spoof Failure Response</summary>

```json
{
    "transactionId": "unique transaction id generated to identify this transaction",
    "partnerTrxId": "partner transaction id submitted by customer in request",
    "groupId": "partner group id submitted by customer in request",
    "errors": [
        {
            "message": "The card appears to be spoofed.",
            "code": 5028,
            "operations": [
                "idVerification"
            ]
        }
    ]
}
```

</details>

### Forged Response

HTTP Status Code: `400`

<details>

<summary>Forgery Failure Response</summary>

```json
{
    "transactionId": "unique transaction id generated to identify this transaction",
    "partnerTrxId": "partner transaction id submitted by customer in request",
    "groupId": "partner group id submitted by customer in request",
    "errors": [
        {
            "message": "The card appears to be forged.",
            "code": 5024,
            "operations": [
                "idVerification"
            ]
        }
    ]
}
```

</details>
