Root native login session only; PAT rejected. Requires X-Security-Proof bound to stripe.risk.resolve, event_id and the same trimmed reason. The native success envelope is {success:true,data:{resolved:true}}. On lock timeout or uncertain failure inspect current state and reauthenticate before deciding; never automatically replay a one-use proof.
POST
/api/stripe/risks/{event_id}/resolve身份验证
Authorizationstring必填使用登录取得的 native access_token(身份要求:管理员);该接口仅接受有效登录会话,拒绝 PAT 与推理 API Key;管理接口还需对应角色。
Authorization: Bearer $ONEASTER_ACCESS_TOKEN
参数
event_idstring必填path
X-Security-Proofstring必填header · Single-use proof scoped to stripe.risk.resolve and the same event ID and reason.
请求正文 · application/json
reasonstring必填Nonblank reason, at most 500 UTF-8 bytes; the same trimmed value is bound to the proof.
JSON Schema
{
"type": "object",
"required": [
"reason"
],
"additionalProperties": false,
"properties": {
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Nonblank reason, at most 500 UTF-8 bytes; the same trimmed value is bound to the proof."
}
}
}