단일 검증 결과 조회 API

단일 검증 결과 조회

GET http://<enclave-endpoint>/v1/verifications/:uuid

verificationUuid로 단일 검증 이력을 조회할 수 있습니다.

Response Body

성공 케이스

Response Body Examples
  • 200 OK

{
  "verificationId": "10",
  "verificationUuid": "5c9f6f44-1e09-483b-a9f5-5950b1cbae08",
  "result": "VERIFIED",
  "reason": "OK",
  "message": "",
  "assetInfo": {
    "symbol": "BTC",
    "network": "Bitcoin",
    "amount": "100123",
    "isExceedingThreshold": 1,
    "tradeCurrency": "123",
    "tradePrice": "100",
    "tradeISODatetime": "2022-02-02T10:00:00.000Z"
  },
  "txHash": null,
  "vout": null,
  "originatingVaspId": "15952089931162058999",
  "originatorAccountNumber": "0xtest001506550d8356a215be229c15b6ef371a9a",
  "ivms101Originator": "{\"originatorPersons\":[{\"naturalPerson\":{\"name\":{\"nameIdentifier\":[{\"primaryIdentifier\":\"Taylor\",\"nameIdentifierType\":\"LEGL\"}]},\"geographicAddress\":[{\"addressType\":\"test\",\"buildingName\":\"123\",\"townName\":\"Yeoksam-dong\",\"country\":\"KR\"}]}}]}",
  "ivms101OriginatingVasp": "{\"legalPerson\":{\"name\":{\"nameIdentifier\":[{\"legalPersonName\":\"perftest1\",\"legalPersonNameIdentifierType\":\"LEGL\"}]},\"geographicAddress\":[{\"addressType\":\"GEOG\",\"postcode\":\"13525\",\"townName\":\"Yeoksam-dong\",\"addressLine\":[\"Gangnam-gu, Gangbuck-do\",\"abc\"],\"country\":\"AF\"}],\"nationalIdentification\":{\"nationalIdentifier\":\"983746561\",\"nationalIdentifierType\":\"RAID\",\"registrationAuthority\":\"RA000025\"}}}",
  "beneficiaryVaspId": "15952089931162059995",
  "beneficiaryAccountNumber": "1G3qCGKP5dQtQ7secCPTCDPU9Wfjp9x3Hb",
  "ivms101Beneficiary": "{\"beneficiaryPersons\":[{\"naturalPerson\":{\"name\":{\"nameIdentifier\":[{\"primaryIdentifier\":\"Taylor\",\"secondaryIdentifier\":\"Robbins\",\"nameIdentifierType\":\"LEGL\"}]}}}],\"accountNumber\":[\"1G3qCGKP5dQtQ7secCPTCDPU9Wfjp9x3Hb\"]}",
  "ivms101BeneficiaryVasp": "{\"legalPerson\":{\"name\":{\"nameIdentifier\":[{\"legalPersonName\":\"perftest2\",\"legalPersonNameIdentifierType\":\"LEGL\"}]},\"geographicAddress\":[{\"addressType\":\"GEOG\",\"postcode\":\"13525\",\"townName\":\"Yeoksam-dong\",\"addressLine\":[\"14, Teheran-ro 4-gil\",\"Gangnam-gu\"],\"country\":\"AF\"}],\"nationalIdentification\":{\"nationalIdentifier\":\"7612873123\",\"nationalIdentifierType\":\"RAID\",\"registrationAuthority\":\"RA000073\"}}}",
  "verifiedAt": "2022-02-22T05:12:41.000Z",
  "orderedAt": null,
  "createdAt": "2022-02-22T05:12:40.000Z"
}
  • result 필드에는 다음과 같은 값이 들어갈 수 있습니다.

    • “VERIFIED”, ”DENIED”, ”UNKNOWN”, ”ERROR” 중 한 개의 값을 갖습니다.

    • VERIFIED: 검증이 성공적으로 끝난 경우, 사용자에게 아무런 문제가 없음을 의미합니다.

    • DENIED: 지갑 주소는 맞지만 사용자(송신인 포함)에게 문제가 발견된 경우 (e.g. lack of KYC credential)

    • UNKNOWN: 지갑 주소가 모르는 주소일 경우 (VASP가 소유하지 않은 경우)

    • ERROR: 기타 다른 에러가 발생한 경우

  • reason 필드에는 다음과 같은 값이 들어갈 수 있습니다.

    • 단, 사용자 검증 요청에 대한 결과 result 필드의 값이 DENIED 일 때에만 유효합니다.

    • message 필드에는, 아래 표에 설명된 값을 string으로 전달합니다. (하단 표 내용 참조)

  • assetInfo.isExceedingThreshold 필드에는 다음과 같은 값이 들어갈 수 있습니다.

    • true, false 중 한 개의 값을 갖습니다.

    • true: 전송할 가상 자산의 법정 화폐 환산 금액이 법령에서 정한 금액 이상인 경우.

    • false: 전송할 가상 자산의 법정 화폐 환산 금액이 법령에서 정한 금액 미만인 경우.

실패 케이스

존재하지 않는 verification uuid를 입력한 경우

Response Body Examples
  • 404 Not Found

{
  "code": "VERIFICATION-NOT-FOUND",
  "message": "Verification(9faab87c-54a6-4145-baa9-7a3a42d7410c) is not found"
}

Last updated