Risk
POST/v1/merchants/{id}/allow
Always allow merchant
curl -X POST "https://api.52-28-238-205.sslip.io/v1/merchants/{id}/allow" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"max_amount_base_units":"50000"}'Marks a merchant as always allowed for the organization, optionally up to max_amount_base_units per purchase, replacing any block. Console session or API key with mandate:edit.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/merchants/{id}/allowBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredMerchant id (mch_...).
Body
application/json. Fields are listed under Request body below.
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_...).
application/json- body
max_amount_base_units?string|integer|nullSuccess.
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]?anyDELUnblock 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.
DELRemove merchant allow rule
Removes the organization's always-allow rule for a merchant; does nothing if there is none. Console session or API key with mandate:edit.