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

The body is of type object.

Response

200
application/json

Blacklist user result

The response is of type object.