4. Delete

You can use this service to delete labels from your terminals.

DELETE {{Base Address}}/api/terminal/tag

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

Important: To use the Terminal Label Deletion service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' field.

PhysicalAPI Address

The header information that should 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.

The body information that should be sent to the service is as follows:

{
  "TerminalTagId": "00a85f64-5717-4562-b3fc-2c963f66afa6"
}
Parameter
Type
Compulsory
Length
Description
TerminalId

Guid

Yes

-

The ID of your terminal.

Name

string

Yes

100

The label name.

Code

string

Yes

25

The unique code for the label.

Response from the service:

Parameter
Type
Description

Result

object

Returns the details of the service.

ErrorCode

int

Error code. If the operation is successful, it returns the value '0'.

Succeeded

bool

It returns a true or false value. If the operation is successful, it returns the value 'true'.

Failed

bool

It returns a true or false value. If the operation is unsuccessful, it returns the value 'true'.

Message

string

If the operation is faulty, this is the message related to the error, and it provides language support according to the locale parameter.

ClientMessage

string

It returns the fixed values of Paywall error codes. You can perform mapping.

{
    "result": {
        "status": true
    },
    "failed": false,
    "message": null,
    "clientMessage": null,
    "succeeded": true
}

Last updated