{
  "info": {
    "name": "zCheck API (zPayLink)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Identity verification (KYC): create a verification, send your user to the hosted page (or upload documents server to server), then read the checks and the decision and receive signed webhooks.\n\nStatus (2026-10-15): Test keys only. zCheck accepts test keys only while it is in development: live verification is switched off. With the default policy no verification is approved automatically; every case ends in manual review. Results in test mode are simulated (simulated: true). OCR, face comparison and liveness need providers that zPayLink connects per organization, and there is no government database check.\n\nSet the collection variables baseUrl and apiKey (placeholder only; never commit real keys)."
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://check.zpaylink.com/api/v1",
      "description": "Test mode (test keys): https://check.zpaylink.com/api/v1"
    },
    {
      "key": "apiKey",
      "value": "<your zck_test_… key>",
      "description": "Placeholder"
    }
  ],
  "item": [
    {
      "name": "verifications",
      "item": [
        {
          "name": "POST /verifications | Create a verification",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "Optional; reuse it when you retry"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/verifications",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications"
              ]
            },
            "description": "Creates a verification and returns a one-time link to the hosted page. Every field is optional; unknown fields are rejected.\n\nScope: verifications:write\n\nverification_url is returned on creation only (null on an idempotent replay); POST /verifications/{id}/session issues a new link.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"external_customer_id\": \"user-2041\",\n  \"external_reference\": \"onboarding-2041\",\n  \"document_types\": [\n    \"national_id_card\",\n    \"passport\"\n  ],\n  \"redirect_url\": \"https://app.example.com/kyc/done\",\n  \"locale\": \"fa\",\n  \"metadata\": {\n    \"plan\": \"standard\"\n  },\n  \"sandbox\": {\n    \"scenario\": \"approve\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example 201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "description": "Optional; reuse it when you retry"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications"
                  ]
                },
                "description": "Creates a verification and returns a one-time link to the hosted page. Every field is optional; unknown fields are rejected.\n\nScope: verifications:write\n\nverification_url is returned on creation only (null on an idempotent replay); POST /verifications/{id}/session issues a new link.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"external_customer_id\": \"user-2041\",\n  \"external_reference\": \"onboarding-2041\",\n  \"document_types\": [\n    \"national_id_card\",\n    \"passport\"\n  ],\n  \"redirect_url\": \"https://app.example.com/kyc/done\",\n  \"locale\": \"fa\",\n  \"metadata\": {\n    \"plan\": \"standard\"\n  },\n  \"sandbox\": {\n    \"scenario\": \"approve\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"6f1c2a9e-3b47-4d1a-9c55-2e8b7a0d4f13\",\n  \"reference\": \"ZC-7K2M9QX4\",\n  \"external_customer_id\": \"user-2041\",\n  \"external_reference\": \"onboarding-2041\",\n  \"mode\": \"test\",\n  \"status\": \"CREATED\",\n  \"attempt\": 1,\n  \"document_type\": null,\n  \"simulated\": true,\n  \"decision\": null,\n  \"created_at\": \"2026-10-15T09:00:00.000Z\",\n  \"updated_at\": \"2026-10-15T09:00:00.000Z\",\n  \"completed_at\": null,\n  \"submitted_at\": null,\n  \"decided_at\": null,\n  \"allowed_document_types\": [\n    \"national_id_card\",\n    \"passport\"\n  ],\n  \"liveness_mode\": \"selfie\",\n  \"session_expires_at\": \"2026-10-16T09:00:00.000Z\",\n  \"max_attempts\": 3,\n  \"policy_version\": 1,\n  \"customer\": null,\n  \"metadata\": {\n    \"plan\": \"standard\"\n  },\n  \"verification_url\": \"https://check.zpaylink.com/v/HOSTED_TOKEN\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "GET /verifications | List verifications",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/verifications",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "",
                  "description": "Comma-separated statuses, e.g. MANUAL_REVIEW,APPROVED",
                  "disabled": true
                },
                {
                  "key": "external_customer_id",
                  "value": "",
                  "description": "Exact match",
                  "disabled": true
                },
                {
                  "key": "external_reference",
                  "value": "",
                  "description": "Exact match",
                  "disabled": true
                },
                {
                  "key": "created_from",
                  "value": "",
                  "description": "Creation time range",
                  "disabled": true
                },
                {
                  "key": "created_to",
                  "value": "",
                  "description": "Creation time range",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "",
                  "description": "1 to 100, default 25",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "next_cursor of the previous page",
                  "disabled": true
                }
              ]
            },
            "description": "Newest first with cursor pagination (next_cursor).\n\nScope: verifications:read\n\nList items are full verification objects; the example is shortened."
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "Comma-separated statuses, e.g. MANUAL_REVIEW,APPROVED",
                      "disabled": true
                    },
                    {
                      "key": "external_customer_id",
                      "value": "",
                      "description": "Exact match",
                      "disabled": true
                    },
                    {
                      "key": "external_reference",
                      "value": "",
                      "description": "Exact match",
                      "disabled": true
                    },
                    {
                      "key": "created_from",
                      "value": "",
                      "description": "Creation time range",
                      "disabled": true
                    },
                    {
                      "key": "created_to",
                      "value": "",
                      "description": "Creation time range",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "1 to 100, default 25",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "next_cursor of the previous page",
                      "disabled": true
                    }
                  ]
                },
                "description": "Newest first with cursor pagination (next_cursor).\n\nScope: verifications:read\n\nList items are full verification objects; the example is shortened."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"6f1c2a9e-3b47-4d1a-9c55-2e8b7a0d4f13\",\n      \"reference\": \"ZC-7K2M9QX4\",\n      \"status\": \"MANUAL_REVIEW\",\n      \"mode\": \"test\"\n    }\n  ],\n  \"has_more\": false,\n  \"next_cursor\": null\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "GET /verifications/{id} | Retrieve a verification",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "Status, decision summary, configuration and the masked customer. Never contains images or the full national ID.\n\nScope: verifications:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "Status, decision summary, configuration and the masked customer. Never contains images or the full national ID.\n\nScope: verifications:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"6f1c2a9e-3b47-4d1a-9c55-2e8b7a0d4f13\",\n  \"reference\": \"ZC-7K2M9QX4\",\n  \"external_customer_id\": \"user-2041\",\n  \"external_reference\": \"onboarding-2041\",\n  \"mode\": \"test\",\n  \"status\": \"CREATED\",\n  \"attempt\": 1,\n  \"document_type\": null,\n  \"simulated\": true,\n  \"decision\": null,\n  \"created_at\": \"2026-10-15T09:00:00.000Z\",\n  \"updated_at\": \"2026-10-15T09:00:00.000Z\",\n  \"completed_at\": null,\n  \"submitted_at\": null,\n  \"decided_at\": null,\n  \"allowed_document_types\": [\n    \"national_id_card\",\n    \"passport\"\n  ],\n  \"liveness_mode\": \"selfie\",\n  \"session_expires_at\": \"2026-10-16T09:00:00.000Z\",\n  \"max_attempts\": 3,\n  \"policy_version\": 1,\n  \"customer\": null,\n  \"metadata\": {\n    \"plan\": \"standard\"\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "GET /verifications/{id}/status | Verification status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "status"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "A light status read for polling.\n\nScope: verifications:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "status"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "A light status read for polling.\n\nScope: verifications:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"6f1c2a9e-3b47-4d1a-9c55-2e8b7a0d4f13\",\n  \"reference\": \"ZC-7K2M9QX4\",\n  \"status\": \"PROCESSING\",\n  \"attempt\": 1,\n  \"updated_at\": \"2026-10-15T09:12:40.000Z\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "GET /verifications/{id}/result | Verification result",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/result",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "result"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "The decision and every check: document_quality, ocr_extraction, first_name_match, last_name_match, national_id_match, face_match, liveness, presentation_attack and document_authenticity. A check is pass, fail, suspicious, inconclusive, unavailable, not_required or error.\n\nScope: verifications:read\n\nchecks contains one entry per check; the example shows one."
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/result",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "result"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "The decision and every check: document_quality, ocr_extraction, first_name_match, last_name_match, national_id_match, face_match, liveness, presentation_attack and document_authenticity. A check is pass, fail, suspicious, inconclusive, unavailable, not_required or error.\n\nScope: verifications:read\n\nchecks contains one entry per check; the example shows one."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"6f1c2a9e-3b47-4d1a-9c55-2e8b7a0d4f13\",\n  \"reference\": \"ZC-7K2M9QX4\",\n  \"status\": \"MANUAL_REVIEW\",\n  \"final\": false,\n  \"simulated\": true,\n  \"attempt\": 1,\n  \"policy_version\": 1,\n  \"decision\": {\n    \"outcome\": \"MANUAL_REVIEW\",\n    \"automatic\": true,\n    \"reasons\": [\n      {\n        \"code\": \"auto_approve_disabled\",\n        \"message\": \"All checks passed. Automatic approval is off in this policy: a reviewer decides.\"\n      }\n    ],\n    \"manual_reason\": null,\n    \"engine_version\": \"zcheck-decision-1\",\n    \"decided_at\": \"2026-10-15T09:13:05.000Z\"\n  },\n  \"checks\": {\n    \"national_id_match\": {\n      \"status\": \"pass\",\n      \"score\": null,\n      \"threshold\": null,\n      \"raw_score\": null,\n      \"calibrated\": false,\n      \"provider\": \"Simulated (sandbox)\",\n      \"simulated\": true,\n      \"reasons\": [],\n      \"entered_last4\": \"1234\",\n      \"extracted_last4\": \"1234\",\n      \"match_type\": \"exact\"\n    }\n  },\n  \"providers\": [\n    \"Simulated (sandbox)\"\n  ]\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "GET /verifications/{id}/events | Verification timeline",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "events"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "Every step of the verification in order; reviewer names and internal notes are not included.\n\nScope: verifications:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/events",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "events"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "Every step of the verification in order; reviewer names and internal notes are not included.\n\nScope: verifications:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"type\": \"created\",\n      \"at\": \"2026-10-15T09:00:00.000Z\",\n      \"actor\": \"api\"\n    },\n    {\n      \"type\": \"submitted\",\n      \"at\": \"2026-10-15T09:12:40.000Z\",\n      \"actor\": \"customer\"\n    },\n    {\n      \"type\": \"review_required\",\n      \"at\": \"2026-10-15T09:13:05.000Z\",\n      \"actor\": \"system\"\n    }\n  ]\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "POST /verifications/{id}/cancel | Cancel a verification",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "Optional; reuse it when you retry"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "cancel"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "Cancels any verification that is not yet final (APPROVED, REJECTED, EXPIRED or CANCELLED).\n\nScope: verifications:write\n\nReturns the full verification object; the example is shortened.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"User closed the account\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "description": "Optional; reuse it when you retry"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "Cancels any verification that is not yet final (APPROVED, REJECTED, EXPIRED or CANCELLED).\n\nScope: verifications:write\n\nReturns the full verification object; the example is shortened.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"User closed the account\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"6f1c2a9e-3b47-4d1a-9c55-2e8b7a0d4f13\",\n  \"reference\": \"ZC-7K2M9QX4\",\n  \"status\": \"CANCELLED\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "POST /verifications/{id}/resubmission | Request resubmission",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "Optional; reuse it when you retry"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/resubmission",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "resubmission"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "Asks the user to try again (from MANUAL_REVIEW, REJECTED, ERROR or PROCESSING): a new attempt and a new link. The reason is shown to the user.\n\nScope: verifications:write",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"The document photo is blurred.\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "description": "Optional; reuse it when you retry"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/resubmission",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "resubmission"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "Asks the user to try again (from MANUAL_REVIEW, REJECTED, ERROR or PROCESSING): a new attempt and a new link. The reason is shown to the user.\n\nScope: verifications:write",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"The document photo is blurred.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"6f1c2a9e-3b47-4d1a-9c55-2e8b7a0d4f13\",\n  \"status\": \"PENDING_UPLOAD\",\n  \"attempt\": 2,\n  \"verification_url\": \"https://check.zpaylink.com/v/HOSTED_TOKEN\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "POST /verifications/{id}/session | Issue a new link",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/session",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "session"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "A new hosted-page link (the previous one stops working), for CREATED, PENDING_UPLOAD, PENDING_LIVENESS or EXPIRED verifications.\n\nScope: verifications:write"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/session",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "session"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "A new hosted-page link (the previous one stops working), for CREATED, PENDING_UPLOAD, PENDING_LIVENESS or EXPIRED verifications.\n\nScope: verifications:write"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"verification_url\": \"https://check.zpaylink.com/v/HOSTED_TOKEN\",\n  \"session_expires_at\": \"2026-10-16T10:00:00.000Z\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "POST /verifications/{id}/consent | Server-to-server: record consent",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/consent",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "consent"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "First step when you collect documents in your own app instead of the hosted page.\n\nScope: verifications:submit",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"accepted\": true,\n  \"consent_version\": \"2026-10\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/consent",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "consent"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "First step when you collect documents in your own app instead of the hosted page.\n\nScope: verifications:submit",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"accepted\": true,\n  \"consent_version\": \"2026-10\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"ok\": true\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "PUT /verifications/{id}/customer | Server-to-server: customer details",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/customer",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "customer"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "Name, national ID and document type, after consent.\n\nScope: verifications:submit",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"first_name\": \"سارا\",\n  \"last_name\": \"رضایی\",\n  \"national_id\": \"0012345679\",\n  \"document_type\": \"national_id_card\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/customer",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "customer"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "Name, national ID and document type, after consent.\n\nScope: verifications:submit",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"first_name\": \"سارا\",\n  \"last_name\": \"رضایی\",\n  \"national_id\": \"0012345679\",\n  \"document_type\": \"national_id_card\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"ok\": true\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "POST /verifications/{id}/files/{kind} | Server-to-server: upload an image",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/octet-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/files/:kind",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "files",
                ":kind"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                },
                {
                  "key": "kind",
                  "value": "",
                  "description": "front, back, selfie or liveness"
                }
              ],
              "query": [
                {
                  "key": "seq",
                  "value": "",
                  "description": "For live-capture frames only",
                  "disabled": true
                },
                {
                  "key": "challenge",
                  "value": "",
                  "description": "For live-capture frames only",
                  "disabled": true
                }
              ]
            },
            "description": "Uploads one image. National ID cards and driving licences need front and back; passports and birth certificates need the front.\n\nScope: verifications:submit",
            "body": {
              "mode": "file",
              "file": {}
            }
          },
          "response": [
            {
              "name": "Example 201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/octet-stream"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/files/:kind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "files",
                    ":kind"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    },
                    {
                      "key": "kind",
                      "value": "",
                      "description": "front, back, selfie or liveness"
                    }
                  ],
                  "query": [
                    {
                      "key": "seq",
                      "value": "",
                      "description": "For live-capture frames only",
                      "disabled": true
                    },
                    {
                      "key": "challenge",
                      "value": "",
                      "description": "For live-capture frames only",
                      "disabled": true
                    }
                  ]
                },
                "description": "Uploads one image. National ID cards and driving licences need front and back; passports and birth certificates need the front.\n\nScope: verifications:submit",
                "body": {
                  "mode": "file",
                  "file": {}
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"ok\": true,\n  \"kind\": \"front\",\n  \"seq\": 0,\n  \"width\": 1600,\n  \"height\": 1010,\n  \"issues\": []\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "POST /verifications/{id}/submit | Server-to-server: submit",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/verifications/:id/submit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "verifications",
                ":id",
                "submit"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Verification id"
                }
              ]
            },
            "description": "Starts processing once every required image is uploaded.\n\nScope: verifications:submit"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/verifications/:id/submit",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "verifications",
                    ":id",
                    "submit"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Verification id"
                    }
                  ]
                },
                "description": "Starts processing once every required image is uploaded.\n\nScope: verifications:submit"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"ok\": true,\n  \"status\": \"PROCESSING\"\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    },
    {
      "name": "events",
      "item": [
        {
          "name": "GET /events | List webhook events",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "events"
              ],
              "query": [
                {
                  "key": "type",
                  "value": "",
                  "description": "One event type",
                  "disabled": true
                },
                {
                  "key": "verification_id",
                  "value": "",
                  "description": "Only events of this verification",
                  "disabled": true
                },
                {
                  "key": "starting_after",
                  "value": "",
                  "description": "An event id (evt_…)",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "",
                  "description": "1 to 100, default 25",
                  "disabled": true
                }
              ]
            },
            "description": "The events sent to your webhooks, for reconciliation.\n\nScope: verifications:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/events",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "events"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "",
                      "description": "One event type",
                      "disabled": true
                    },
                    {
                      "key": "verification_id",
                      "value": "",
                      "description": "Only events of this verification",
                      "disabled": true
                    },
                    {
                      "key": "starting_after",
                      "value": "",
                      "description": "An event id (evt_…)",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "1 to 100, default 25",
                      "disabled": true
                    }
                  ]
                },
                "description": "The events sent to your webhooks, for reconciliation.\n\nScope: verifications:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"evt_9f2c4a7e1b3d5f8a0c2e4b6d\",\n      \"type\": \"verification.pending_review\",\n      \"created_at\": \"2026-10-15T09:13:05.000Z\",\n      \"data\": {\n        \"verification\": {\n          \"id\": \"6f1c2a9e-3b47-4d1a-9c55-2e8b7a0d4f13\",\n          \"status\": \"MANUAL_REVIEW\"\n        }\n      }\n    }\n  ],\n  \"has_more\": false\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    }
  ]
}
