Verification.Revoke
以前に合格した1つ以上の認証が取り消された場合に発行されます。例えば、不正行為やプロバイダー報告のエラーが原因です。data.verifications配列には常に少なくとも1つの項目が含まれ、一括取り消し処理の場合は複数の項目が含まれることがあります。
このイベントを受信した場合、参照された認証はもはや有効ではないものとして扱い、適切な措置を講じる必要があります(例:影響を受けたユーザーの認証を再トリガーする)。
フィールド
| フィールド | タイプ | 必須 | 説明 |
|---|---|---|---|
eventType | string | はい | 常に "Verification.Revoke" |
data | object | はい | 取り消しデータ |
data.verifications | array | はい | 取り消された認証のリスト(最小1項目) |
data.verifications[].id | string (UUID) | はい | 取り消される認証ID |
data.verifications[].reason | string | はい | 取り消しの理由: fraudulent-activity-detected または provider-reported-error |
例
- 単一の取り消し
- 一括取り消し
{
"eventType": "Verification.Revoke",
"data": {
"verifications": [
{
"id": "4e57301e-a4d1-498f-ac3f-f3d4de19abf6",
"reason": "fraudulent-activity-detected"
}
]
}
}
{
"eventType": "Verification.Revoke",
"data": {
"verifications": [
{
"id": "4e57301e-a4d1-498f-ac3f-f3d4de19abf6",
"reason": "fraudulent-activity-detected"
},
{
"id": "b2c8e91f-7a23-4d5c-8f1e-2a9b3c4d5e6f",
"reason": "provider-reported-error"
}
]
}
}