Identity Verification設定ガイド
このドキュメントの目的
Identity Verification(身元確認/eKYC)の設定方法を理解します。
所要時間
⏱️ 約20分
Identity Verificationとは
Identity VerificationはeKYC(electronic Know Your Customer)や本人確認プロセスを管理する機能です。
ユースケース:
- 顔認証による本人確認
- 身分証明書の検証
- 口座情報による本人確認
- VIPステータス確認
設定ファイル構造
identity-verification/face-verification.json
{
"id": "ed5c1717-98eb-4415-898d-6d4584810b5e",
"type": "face-verification",
"attributes": {
"label": "顔認証",
"provider": "external-provider"
},
"processes": {
"start": {
"execution": {
"type": "http_request",
"http_request": {
"url": "${VERIFICATION_API_URL}/verify/start",
"method": "POST",
"auth_type": "oauth2",
"oauth_authorization": {
"type": "client_credentials",
"token_endpoint": "${AUTH_URL}/token",
"client_id": "${CLIENT_ID}",
"client_secret": "${CLIENT_SECRET}"
}
}
},
"store": {
"application_details_mapping_rules": [
{
"from": "$.response_body.session_id",
"to": "verification_session.id"
}
]
},
"response": {
"body_mapping_rules": [
{
"from": "$.response_body.session_id",
"to": "session_id"
}
]
}
},
"check-status": {
"execution": {
"type": "http_request",
"http_request": {
"url": "${VERIFICATION_API_URL}/verify/status",
"method": "POST"
}
},
"transition": {
"approved": {
"any_of": [
[
{
"path": "$.response_body.status",
"type": "string",
"operation": "eq",
"value": "verified"
}
]
]
},
"rejected": {
"any_of": [
[
{
"path": "$.response_body.status",
"type": "string",
"operation": "eq",
"value": "failed"
}
]
]
}
}
}
}
}