Risk
POST/v1/merchants/{id}/block
Block merchant
curl -X POST "https://api.52-28-238-205.sslip.io/v1/merchants/{id}/block" \ -H "Cookie: <console session cookie>"Blocks a merchant for the whole organization, replacing any allow rule. Console session or API key with mandate:edit.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/merchants/{id}/blockBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredMerchant id (mch_...).
Requires permissionmandate:edit
Held by
owner, admin, finance, operator. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdMerchant id (mch_...).
Success.
application/json- response
merchant_id*Merchant IdMerchant id (mch_...).
rule?|nullblocked*Blockedblocked_at?string|nullblocked_by?string|nullallowed*Allowedallow_max_amount_base_units?string|null[key: string]?anyGETList merchant rules
Lists the organization's block and always-allow rules for single merchants, with counts per kind. Console session or API key with payment:read.
DELUnblock merchant
Removes the organization's block on a merchant; does nothing if the merchant is not blocked. Console session or API key with mandate:edit.