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.
The header information that should be sent to the service is as follows:
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"
}
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:
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