Used to add/activation a merchant blacklist entry.
Leading and trailing spaces are trimmed; internal spaces are preserved.
Duplicate detection ignores case after trimming. Adding an already active entry returns its existing blacklistId without changing its stored name or update time.
Adding a previously deactivated entry reactivates it and returns the same blacklistId with status ACTIVE.
Business results:
code
Description
Default msg
0
Success
Success.
401
Missing authenticated merchant context
Authentication is required.
400
Missing or blank name
Merchant name is required.
400
Name exceeds 255 characters
Merchant name must not exceed 255 characters.
400
Invalid request format
Bad Request
500
Add or reactivation failed
Internal server error.
A successful business result has code=0 and ok=true. A failed business result has a nonzero code and ok=false. Values such as 400, 401, 404 and 500 are business codes in the response body, not HTTP status codes. Message examples retain the default English text; actual messages follow the shared localization rules. Check code to determine the result. Gateway authentication and network errors follow the shared integration documentation.