본인인증 결과 조회

Prev Next

본인 인증된 결괏값을 조회할 수 있습니다.

요청

GET https://plugin.gamepot.io/v1/certifications/{orderID}

요청 헤더

헤더명 필수 여부 설명
X-API-KEY O GamePot에서 발급하는 인증키 값
X-PROJECT-ID O 프로젝트 ID

응답

필드명 타입 설명
project_id String 프로젝트 ID
plugin_id String 플러그인 ID
user_id String 사용자 ID
name String 이름
gender Int 성별
birth Int 생년월일
phone String 핸드폰 번호
tid String TID
ci String CI
di String DI
order_id String 주문번호
userdata String 사용자 데이터
createdAt Date 입력일

예시

요청 예시

  curl --location --request GET 'https://plugin.gamepot.io/v1/certifications/[ORDER-ID]' \
--header 'X-API-KEY: [X-API-KEY]' \
--header 'X-PROJECT-ID: [PROJECT-ID]' \
--data-raw ''

응답 예시

{
    "_id": "61f23bca9xxxxxxx",
    "project_id": "ab2775b4-xxxx-xxxx-xxxx-xxxxxxxxx",
    "plugin_id": "61dxxxxxxxx",
    "user_id": "djd827hd-xxxx-xxxx-xxxx-xxxxxxxx",
    "name": "홍길동",
    "gender": "1",
    "birth": "1979xxxx",
    "phone": "010xxxxxxxx",
    "tid": "20220xxxxxxxxxxxxxxx",
    "ci": "PPfDvGpApYltvl5cN+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "di": "MC0GCCqGSIb3Dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "order_id": "ODe1c6e1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "userdata": "",
    "createdAt": "2022-01-27T06:29:30.000Z"
}

오류 코드

OrderID가 존재하지 않을 경우 아래와 같이 리턴됩니다.

{
  "status": -1,
  "message": "orderId is not found"
}