Attempt a verification

This resource is used to check for an entered PIN on the client side.


URL: baseURL/scenario/{scenarioID}/verify/{verificationID}

Method: POST

Headers:

Content-Type: application/json
principalId: {accountID}

Example Request:

curl --location 'baseURL/scenario/7280ecaa-a132-4908-8f26-c1ecbe138d98/verify/dc5b365f-d656-4aae-a7ad-8a4192c2a453' \
--header 'Content-Type: application/json' \
--header 'principalId: 1' \
--data '{
    "pin": "1111"
}'

Example response

{
  "updated_at": "2020-09-04T07:25:36.000000Z",
  "scenario_id": "7280ecaa-a132-4908-8f26-c1ecbe138d98",
  "status": "IN PROGRESS",
  "phone": "+380969752341",
  "mail": "[email protected]",
  "ip": "127.0.0.1",
  "pin": "4404",
  "latest_channel": null,
  "finalized_at": null,
  "expiration_date": "2020-09-04T07:30:56.000000Z",
  "sticky_channel_applied": false,
  "date_submitted": "2020-09-04T07:25:36Z",
  "date_finalized": null,
  "checks": [
    {
      "pin": "1111",
      "result": "invalid",
      "channel": null,
      "date_received": "2020-09-04T07:28:18Z"
    }
  ],
  "events": [],
  "actions": [],
  "fraud_results": null,
  "verify_id": "dc5b365f-d656-4aae-a7ad-8a4192c2a453"
}