1. List
You can obtain a list of terminals for all your physical POS connections through this service.
POST
{{Base Address}}/api/terminal/list
It will be sufficient to send a request to the address provided above. You can use the 'Base Address' as you wish for both the test environment and the live environment.
The header information that needs to be sent to the service is as follows:
apikeyprivate
string
Yes
The Private Key obtained from the member merchant panel.
apiclientprivate
string
Yes
The Private Client obtained from the member merchant panel.
The body information that needs to be sent to the service is as follows:
{
"pageIndex": 0,
"pageSize": 10
}
The response returned from the service:
Result
object
It returns the details of the service.
ErrorCode
int
Error code. If the transaction is successful, it returns a value of '0'.
Succeeded
bool
It returns a true or false value. If the transaction is successful, it returns the value 'true'.
Failed
bool
It returns a true or false value. If the transaction is unsuccessful, it returns the value 'false'.
Message
string
If the transaction is faulty, this is the error message specified, which provides language support based on the locale parameter.
ClientMessage
string
It returns the fixed values of Paywall error codes. You can map them.
{
"Result": {
"Items": [
{
"Id": "c5e049d4-626f-4e0e-81a9-18a4e9da0e32",
"ConnectionId": "70b2190b-e47b-455f-b05e-8c132a05534c",
"BrandId": 10,
"ProviderId": 10,
"RegionId": 1,
"ConnectionName": "Varsayılan 1",
"SourceId": null,
"TerminalId": "10177",
"SerialNo": "PAV960000015-passive",
"SourceCreatedDate": null,
"SourceUpdateDate": null,
"MerchantId": "1308"
},
{
"Id": "3332d81c-e047-4bef-8385-6f8eba337fac",
"ConnectionId": "1b63d83f-d8ba-4476-9886-4b2f1d103e74",
"BrandId": 10,
"ProviderId": 30,
"RegionId": 1,
"ConnectionName": "Varsayılan 2",
"SourceId": null,
"TerminalId": "10040",
"SerialNo": "PAV860027766",
"SourceCreatedDate": null,
"SourceUpdateDate": null,
"MerchantId": "1308"
},
{
"Id": "ead51e59-33ea-49e3-bd47-19673794dce9",
"ConnectionId": "1b63d83f-d8ba-4476-9886-4b2f1d103e74",
"BrandId": 10,
"ProviderId": 30,
"RegionId": 1,
"ConnectionName": "Varsayılan 2",
"SourceId": null,
"TerminalId": "10177",
"SerialNo": "PAV960000015-passive",
"SourceCreatedDate": null,
"SourceUpdateDate": null,
"MerchantId": "1308"
},
{
"Id": "38e895c3-1a9a-4b73-8816-8557d1d031d6",
"ConnectionId": "70b2190b-e47b-455f-b05e-8c132a05534c",
"BrandId": 10,
"ProviderId": 10,
"RegionId": 1,
"ConnectionName": "Varsayılan 1",
"SourceId": null,
"TerminalId": "10040",
"SerialNo": "PAV860027766",
"SourceCreatedDate": null,
"SourceUpdateDate": null,
"MerchantId": "1308"
}
],
"Pagination": {
"CurrentPage": 0,
"PageCount": 1,
"PageSize": 10,
"TotalCount": 4
}
},
"Failed": false,
"Message": null,
"ClientMessage": null,
"Succeeded": true
}
Last updated