Risk
GET/v1/merchant-rules

List merchant rules

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

Lists the organization's block and always-allow rules for single merchants, with counts per kind. Console session or API key with payment:read.

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

    Only rules of this kind: block or allow.

Requires permissionpayment:read
Held by owner, admin, finance, approver (own team), developer, merchant_owner, merchant_developer, operator. 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

kind?|

Only rules of this kind: block or allow.

Response Body

Success.

application/json
  1. response
data*array<>
counts*
[key: string]?any