3. Update

Used to update information in the blacklist.

Update

PUT {{Base Address}}/api/v1/fraud/blacklist

It is sufficient to send a request to the address provided above. You can use the Base Address as needed for both the test and live environments.

Important: To use the Fraud โ€“ Blacklist โ€“ Update service, you must include the apikeyprivate and apiclientprivate parameters in the Header. FraudAPI Address

The header information to be sent to the service is as follows:

Parameter
Type
Compulsory
Description

apikeyprivate

string

Yes

The Private Key obtained from the merchant panel.

apiclientprivate

string

Yes

The Private Client obtained from the merchant panel.

Information to be sent to the service:

Parameter
Type
Compolsory
Description

EntryType

int

Yes

The type of the data to be added to the blacklist

See: Typles

Value

int

Yes

The value of the data to be added to the blacklist

ExpiresAt

DateTime?

No

The data to be added to the blacklist

IsActive

bool

Yes

Represents the active status of the data in the blacklist

{
    "EntryType": 1,
    "Value": "[email protected]",
    "ExpiresAt": "2026-12-12T05:57:52",
    "IsActive": true
}

Response returned from the service:

Parameter
Type
Description

Body

object

JSON containing detailed balance information (optional)

ErrorCode

int

Error code. Returns '0' if the operation is successful

Result

bool

Returns true or false. If the operation is successful, it returns true

Message

string

If the operation fails, it returns the relevant error message and provides language support based on the locale parameter

Last updated