Administrator

POST /api/stripe/risks/{event_id}/resolve

Administrator · POST /api/stripe/risks/{event_id}/resolve

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

Authorizations

Authorizationstringrequired

Use a native login access_token (required access: Administrator); this endpoint requires a live login session and rejects PATs and inference API Keys; administrator routes also require the corresponding role.

Authorization: Bearer $ONEASTER_ACCESS_TOKEN

Parameters

event_idstringrequired

path

X-Security-Proofstringrequired

header · Single-use proof scoped to stripe.risk.resolve and the same event ID and reason.

Body · application/json

reasonstringrequired

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."
    }
  }
}