curl --request POST \
  --url https://sigmaprod.sabipay.com/api/v1/transaction-monitoring/blacklist-user \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --header 'apiSecret: <api-key>' \
  --data '{
  "userId": "<string>"
}'
{
  "message": "User blacklisted"
}

To unblock or unblacklist a user, use the endpoint below. The request type is DELETE

  DELETE api/v1/transaction-monitoring/blacklist-user/{userId}

Authorizations

apiKey
string
header
required
apiSecret
string
header
required

Body

application/json
Blacklist user payload
userId
string
required

The userID of the entity you want to blacklist.

Response

200
application/json
Blacklist user result
message
string

Message after user is blacklisted

Example:

"User blacklisted"