GET/Submission

Request URL

curl -X GET "https://rest-api.argoskyc.com/v3/submission?submission_id={submission_id}"\
-H "x-api-key: {yourAPIKey}"

Get a list of submissions.

  • The KYC / AML status can be checked by the GET request.

  • You can either check for the KYC status of a specific submission or get a list of KYC submissions with GET request.

  • If no parameter is provided, a list of all submissions is returned.

  • If a parameter is provided, filter the list by the given parameter.

  • To get a submission data of a specific submission, submission id must be provided as a parameter. Please refer to the Input Data table for detail.

Input Data

* means required parameters. (Get submission has no required parameters.)

Output Data

Sample Response - Specific submission

{
   "Items":[
      {
         "data":{
            "name":"Jhon Smith",
            "gender":"male",
            "nationality":"USA",
            "date_of_birth":"1998-11-12",
            "cf1":"test",
            "ip_address":"*.*.*.*",
            "idcard_issuingCountry":"USA",
            "idcard_issueDate":"2016-08-16",
            "idType":"government_id",
            "identityNumber":"981112-1******"
         },
         "email":"test@gmail.com",
         "submission_id":"gt7rcxx9l1o*****",
         "created_at":"2022-04-07T00:30:35.919Z",
         "userid":"test1",
         "kyc":{
            "result":"rejected",
            "comment":[
               "Multiple invalid KYC attempts"
            ],
            "commentCode":[
               "too_many_retry"
            ],
            "attempts":[
               {
                  "attemptCnt":1,
                  "livenessScore":91,
                  "faceSimilarityScore":99,
                  "verificationParams":{
                     "fullName":"Jhon Smith",
                     "idType":"government_id",
                     "issueDate":"2016-08-15",
                     "identityNumber":"981112-1******"
                  },
                  "verificationResult":"fail",
                  "retryMsg":[
                     "Face compare failed: no matching face"
                  ],
                  "retryCode":[
                     "face_compare_fail"
                  ]
               },
               {
                  "attemptCnt":2,
                  "livenessScore":98,
                  "verificationParams":{
                     "fullName":"Jhon Smith",
                     "idType":"government_id",
                     "issueDate":"2016-08-16",
                     "identityNumber":"981112-1******"
                  },
                  "verificationResult":"success",
                  "retryMsg":[
                     "Face compare failed: no matching face"
                  ],
                  "retryCode":[
                     "face_compare_fail"
                  ]
               },
               {
                  "attemptCnt":3,
                  "faceSimilarityScore":99,
                  "verificationParams":{
                     "fullName":"Jhon Smith",
                     "idType":"government_id",
                     "issueDate":"2016-08-16",
                     "identityNumber":"981112-1******"
                  },
                  "verificationResult":"success",
                  "retryMsg":[
                     "Face compare failed: no matching face"
                  ],
                  "retryCode":[
                     "face_compare_fail"
                  ]
               }
            ]
         }
      }
   ]
}

Reject Code & Comment

GET/Submission/Submission ID

Querying for one, specific submission data.

  • URL and x-api-key required

  • Should be requested with Query Params

  • Available for one submission data

  • The response includes KYC personal info, KYC result, AML result, reject comment and code, retry comment and code.

Request URL

curl -X GET "https://rest-api.argoskyc.com/v3/submission?submission_id={submission_id}"\
-H "x-api-key: {yourAPIKey}"

Sample Request

curl --location --request GET 'https://rest-api.argoskyc.com/v3/submission?submission_id={submission_id}'\
--header 'x-api-key: {yourAPIKey}'

Sample Response

{
    "Items": [
        {
            "data": {
                "first_name": "{first_name}",
                "last_name": "{last_name}",
                "name": "{name}",
                "date_of_birth": "{YYYY-MM-DD}",
                "cf1": "{cf1}",
                "ip_address": "{ip_address}",
                "idcard_issuingCountry": "USA",
                "idType": "drivers_license"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "updated_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "kyc_result_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "userid": "{userid}",
            "reviewer": "system",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "Multiple invalid KYC attempts "
                ],
                "commentCode": [
                    "too_many_retry"
                ],
                "attempts": [
                    {
                        "attemptCnt": 1,
                        "step1Time1st": "YYYY-MM-DD-HH-MM-SS-ZZZ",
                        "ocrResult": "success",
                        "retryMsg": [
                            "Failed to read PDF417 Barcode."
                        ],
                        "idBarcodeResult": "fail",
                        "retryCode": [
                            "barcode_protocol_fail"
                        ]
                    },
                    {
                        "attemptCnt": 2,
                        "step1Time2nd": "YYYY-MM-DD-HH-MM-SS-ZZZ",
                        "ocrResult": "success",
                        "retryMsg": [
                            "Failed to read PDF417 Barcode."
                        ],
                        "idBarcodeResult": "fail",
                        "retryCode": [
                            "barcode_protocol_fail"
                        ]
                    },
                    {
                        "attemptCnt": 3,
                        "step1Time3rd": "YYYY-MM-DD-HH-MM-SS-ZZZ",
                        "ocrResult": "success",
                        "retryMsg": [
                            "Failed to read PDF417 Barcode."
                        ],
                        "idBarcodeResult": "fail",
                        "retryCode": [
                            "barcode_protocol_fail"
                        ]
                    }
                ]
            }
        }
    ]
}

GET/Submission/User ID

Querying for a submission data with specific user_id

  • URL and x-api-key required

  • Should be requested with Query Params

  • It will return submission data which has the same user_id

  • The response includes KYC personal info, KYC result, AML result, reject comment and code, retry comment and code.

Request URL

curl -X GET "https://rest-api.argoskyc.com/v3/submission?userid={userid}"\
-H "x-api-key: {yourAPIKey}"

Sample Request

curl --location --request GET 'https://rest-api.argoskyc.com/v3/submission?userid={userid}' \
--header 'x-api-key: {yourAPIKey}'

Sample Response

{
	"Items": [
        {
            "data": {
                "name": "{name}",
                "gender": "male",
                "nationality": "KOR",
                "date_of_birth": "YYYY-MM-DD"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
						"userid" : "{userid}" 
            "reviewer": "{reviewer}",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "Multiple invalid KYC attempts "
                ],
                "commentCode": [
                    "too_many_retry"
                ]
            }
        },
        {
            "data": {
                "name": "{name}",
                "gender": "male",
                "nationality": "BRA",
                "date_of_birth": "YYYY-MM-DD"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "pending_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "userid" : "{userid}"
            "reviewer": "{reviewer}",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "test"
                ],
                "commentCode": [
                    "other"
                ]
            }
        },
        {
            "data": {
                "name": "{name}",
                "gender": "male",
                "nationality": "KOR",
                "date_of_birth": "YYYY-MM-DD"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
						"userid" : "{userid}"
            "reviewer": "{reviewer}",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "Multiple invalid KYC attempts "
                ],
                "commentCode": [
                    "too_many_retry"
                ]
	           }
	        }
			 }
	  ]
}

GET/Submission/Email

Querying for a submission data with specific email address

  • URL and x-api-key required

  • Should be requested with Query Params

  • It will return submission data which has the same email address

  • The response includes KYC personal info, KYC result, AML result, reject comment and code, retry comment and code

Request URL

curl -X GET "https://rest-api.argoskyc.com/v3/submission?email={email}"\
-H "x-api-key: {yourAPIKey}"

Sample Request

curl -X GET "https://rest-api.argoskyc.com/v3/submission?email={email}"\
-H "x-api-key: {yourAPIKey}"

Sample Response

{
	"Items": [
        {
            "data": {
                "name": "{name}",
                "gender": "male",
                "nationality": "KOR",
                "date_of_birth": "YYYY-MM-DD"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "reviewer": "{reviewer}",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "Multiple invalid KYC attempts "
                ],
                "commentCode": [
                    "too_many_retry"
                ]
            }
        },
        {
            "data": {
                "name": "{name}",
                "gender": "male",
                "nationality": "BRA",
                "date_of_birth": "YYYY-MM-DD"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "pending_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "reviewer": "{reviewer}",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "test"
                ],
                "commentCode": [
                    "other"
                ]
            }
        },
        {
            "data": {
                "name": "{name}",
                "gender": "male",
                "nationality": "KOR",
                "date_of_birth": "YYYY-MM-DD"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "reviewer": "{reviewer}",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "Multiple invalid KYC attempts "
                ],
                "commentCode": [
                    "too_many_retry"
                ]
	           }
	        }
			 }
	  ]
}

GET/Submission/List

Querying for entire submission data

  • URL and x-api-key required

  • Should be requested with Query Params

  • It will return the entire submission data

  • The response includes KYC personal info, KYC result, AML result, reject comment and code, retry comment and code

Request URL

curl -X GET "https://rest-api.argoskyc.com/v3/submission"\
-H "x-api-key: {yourAPIKey}"

Sample Request

curl --location --request GET 'https://rest-api.argoskyc.com/v3/submission' \
--header 'x-api-key: {yourAPIKey}'

Sample Response

"Items": [
        {
            "data": {
                "name": "{name}",
                "gender": "male",
                "nationality": "KOR",
                "date_of_birth": "YYYY-MM-DD"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "reviewer": "{reviewer}",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "Multiple invalid KYC attempts "
                ],
                "commentCode": [
                    "too_many_retry"
                ]
            }
        },
        {
            "data": {
                "name": "{name}",
                "gender": "male",
                "nationality": "BRA",
                "date_of_birth": "YYYY-MM-DD"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "pending_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "reviewer": "{reviewer}",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "test"
                ],
                "commentCode": [
                    "other"
                ]
            }
        },
        {
            "data": {
                "name": "{name}",
                "gender": "male",
                "nationality": "KOR",
                "date_of_birth": "YYYY-MM-DD"
            },
            "email": "{email}",
            "submission_id": "{submission_id}",
            "created_at": "YYYY-MM-DD-HH-MM-SS-ZZZ",
            "reviewer": "{reviewer}",
            "kyc": {
                "result": "rejected",
                "comment": [
                    "Multiple invalid KYC attempts "
                ],
                "commentCode": [
                    "too_many_retry"
                ]
            }
        }
		}
]

GET/Submission/Applicant ID

Get a list of approved submissions submitted by the same person.

  • If there are multiple submissions from people with the same name, date of birth, nationality, gender, and face, it is judged as duplicate submission, and you can check the duplicate submissions.

  • For a typical applicant that doesn't have duplicate submissions, only a single approved submission is pulled.

  • Since the search is based on applicant_id, applicant_id must be obtained from submission information through GET/Submission API.

  • 'applicant_id' is a combination of name, date of birth, gender, nationality and face image. .

    • Submission data with the same 5 data will have the same 'applicant_id'.

    • 'applicanat_id' is generated randomly if no comparison is found.

Request URL

curl -X GET "https://rest-api.argoskyc.com/v3/submission/applicant?applicant_id={applicant_id}"
-H "x-api-key: {yourAPIKey}"

Input Data

* means required parameters.

Output Data

Sample Reuqest

curl --location --request GET 'https://rest-api.argoskyc.com/v3/submission/applicant?applicant_id={applicant_id}' \
--header 'x-api-key: {yourAPIKey}'

Sample Response

[
    {
        "submission_id": "{submission_id}",
        "email": "{email}"
    },
    {
        "submission_id": "{submission_id}",
        "email": "{email}"
    },
    {
        "submission_id": "{submission_id}",
        "email": "{email}"
    }
]

Last updated