added

ID verification statuses added to the List Providers Endpoint

Overview

The Get Provider API endpoint is able to return identifying information on an individual provider, but it was not possible to return a list of them. Rather than changing the endpoint, we added the id_verified status to the List Providers API endpoint.

Solution

Enabled the List Providers API endpoint to return a list of providers queried on the id verification status. This list is generated by the id_verified status. A query param was established on the id_verified statuses of complete or incomplete as seen in the Get Providers API endpoint.

  1. Reconfigured the List Providers API endpoint to return a list of providers based on the id_verified statuses of complete or incomplete.
  2. A new query param added to the endpoint called id_verified.
  3. The statuses to query are: complete or incomplete.
  4. The API response changed to include the id_verified status for a provider.
[
  {
    "first_name": "",
    "last_name": "",
    "date_of_birth": "03-30-1930",
    "provider_types": [
      "Osteopathic Physician (DO)",
      "Physician (MD)"
    ],
    "tags": [
      "string"
    ],
    "provider_id": "1234567890",
    "registration_status": "account_shared",
    "invitation_status": "application_submitted",
    "id_verified": "complete"
    "last_wallet_shared": "2023-12-28T17:48:44.997Z",
    "licenses": {}
  }
]