Risk
GET/v1/merchant-rules
List merchant rules
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 URL
https://api.52-28-238-205.sslip.ioGET/v1/merchant-rulesBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Query
kindstringOnly 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.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
kind?|Only rules of this kind: block or allow.
Success.
application/json- response
data*array<>counts*[key: string]?anyPOSTSweep to yield
Opens a simulated yield position from idle funds and posts it to the simulated ledger. Requires reconcile; the amount must be between 1 and the idle balance.
POSTBlock merchant
Blocks a merchant for the whole organization, replacing any allow rule. Console session or API key with mandate:edit.