Docs | Blockpass

Docs | Blockpass

  • Go to Admin Console

›API examples

KYC Connect

  • Getting started
  • Members and authentication
  • Overview block diagram
  • Use cases
  • Language support

Admin Console

  • Admin console intro
  • Create & config services
  • Service configuration

    • Service description
    • KYC data collection
    • Select service plan
    • Enable API extracts
    • Webhooks
    • Manage members
  • Usage metrics
  • Start onboarding

Dashboard

  • Dashboard intro
  • Manager settings
  • Export data

Blockpass Widget

  • Blockpass widget
  • Test the Widget

API

  • Dashboard API
  • API examples

    • All candidates
    • Single candidate
    • Archive candidates

Dashboard API Example: Status of all candidates

Get status for all candidates

Retrieve current status of all KYC applications

Curl
Python
NodeJS
curl -X GET \
https://kyc.blockpass.org/kyc/1.0/connect/<CLIENT_ID>/applicants/<OPTIONAL_STATUS> \
-H 'Authorization: <API_Key' \
-H 'cache-control: no-cache'
import requests
r = requests.get("https://kyc.blockpass.org/kyc/1.0/connect/<CLIENT_ID>/applicants/<OPTIONAL_STATUS>", headers={"Authorization":"<api_key>"})
const request = require('request');

const options = {
url: 'https://kyc.blockpass.org/kyc/1.0/connect/<CLIENT_ID>/applicants/<OPTIONAL_STATUS>',
method: 'GET',
headers: {
'Authorization': '<api_key>'
}
}

request(options, function (error, response, body) {
console.log(response)
})

Path parameters:

  • STATUS (optional): Default value return all statuses. Possible values for specific filter (waiting | inreview | approved | rejected | blocked)

Query parameters:

  • skip (optional) : Number of records skipped
  • limit (optional) : Maximum of records returned

returns the list of applicants and their current KYC statuses

{
  "status": "success",
  "data": {
    "records": [
      {
                "status": "waiting",
                "refId": "1552449235127",
                "submitCount": 1,
                "blockPassID": "5c887dfc640a9d000edf2f12",
                "isArchived": false,
                "waitingDate": "2019-03-13T03:51:01.504Z",
                "customFields": {
                  "RiskLevel": "Low"
                },
                "identities": {
                    "email": {
                        "type": "string",
                        "value": "[email protected]"
                    },
                    "family_name": {
                        "type": "string",
                        "value": "name"
                    },
                    "given_name": {
                        "type": "string",
                        "value": "gname"
                    }
                },
                "certs": {
                    "certificate_slug": "{\"@context\":[{\"@version\":1.1},,<...>"
                }
      },
      {
                "status": "approved",
                "refId": "142929235127",
                "submitCount": 1,
                "blockPassID": "8c8997dfc6430a9d000edf2f12",
                "isArchived": false,
                "waitingDate": "2019-03-13T03:51:01.504Z",
                "customFields": {
                  "RiskLevel": "High"
                },
                "identities": {
                    "email": {
                        "type": "string",
                        "value": "[email protected]"
                    },
                    "family_name": {
                        "type": "string",
                        "value": "name"
                    },
                    "given_name": {
                        "type": "string",
                        "value": "gname"
                    }
                },
                "certs": {
                    "certificate_slug": "{\"@context\":[{\"@version\":1.1},,<...>"
                }
      }
    ],
    "total": 2,
    "skip": 0,
    "limit": 5
  }
}
Last updated on 3/23/2022
← Dashboard APISingle candidate →
Docs | Blockpass
Docs
KYC Connect
Community
TelegramTwitterWebsite
More
BlogGitHub
Copyright © 2022 Blockpass IDN.