Verification.Revoke
当一个或多个先前通过的验证被撤销时发出,例如由于欺诈活动或供应商报告的错误。data.verifications 数组始终包含至少一个项目,在批量撤销处理时可能包含多个项目。
收到此事件时,您应将引用的验证视为不再有效,并采取适当措施(例如,为受影响的用户重新触发验证)。
字段
| 字段 | 类型 | 必需 | 说明 |
|---|---|---|---|
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"
}
]
}
}