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

To unblock or unblacklist an account, use the endpoint below. The request type is DELETE

  DELETE api/v1/transaction-monitoring/blacklist-account/{accountNumber}

Authorizations

apiKey
string
header
required
apiSecret
string
header
required

Body

application/json
Blacklist account payload
accountNumber
string
required

The account number of the account you want to blacklist.

Response

200
application/json
Blacklist account result
message
string

Message after account is blacklisted

Example:

"Account blacklisted"