Risk
GET/v1/risk

List risk events

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/risk" \  -H "Cookie: <console session cookie>"

Returns Shield risk events, newest first, with reason code, severity, agent, merchant and the payment intent. Requires risk:read; max 200 per page.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/riskBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Query
  • statusstring

    Comma-separated risk event statuses to return.

  • rule_idstring

    Only events raised by this Shield rule.

  • severitystring

    Comma-separated severities to return.

  • cursorstring

    next_cursor from the previous page.

  • limitinteger

    Page size (default 50, max 200).

Requires permissionrisk:read
Held by owner, admin, finance. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Query Parameters

status?|

Comma-separated risk event statuses to return.

rule_id?|

Only events raised by this Shield rule.

severity?|

Comma-separated severities to return.

cursor?|

next_cursor from the previous page.

limit?Limit

Page size (default 50, max 200).

Default50

Response Body

Success.

application/json
  1. response
data*array<>
next_cursor?|

Cursor for the next page, or null on the last page.

[key: string]?any