Terminal

List all merchants#

GET /terminals

Returns a list of terminals of a merchant

Parameters#

NameTypeRequiredDescription
merchantIdstring(50)trueMerchant Unique ID defined by a company
pageNointeger(int32)truePage index to navigate through all the pages
pageSizeinteger(int32)trueNumber of transaction per page
sortBystringfalseField name to sorted the result list (default is MerchantID)
sortDirectionstringfalseASC or DESC (default is DESC)
checkSumstringtrueChecksum of the query string

Example response:#

{
"responseCode": "000",
"pageInfo": {
"totalPage": 10,
"totalRecord": 250
},
"terminals": [
{
"terminalID": "20001",
"terminalName": "Cashier 1",
"seqNo": 1
},
{
"terminalID": "20002",
"terminalName": "Cashier 2",
"seqNo": 2
}
],
"checksum": "94E8E91C29E73B9648011FADBAE19849B520B24B"
}

Retrieve a terminal#

GET /terminalDetails

Returns details of a terminal

Parameters#

NameTypeRequiredDescription
terminalIDstring(25)trueUnique ID of the terminal belong to merchant
merchantIDstring(50)trueUnique Merchant ID set by the company
checkSumstringtrueChecksum of the query string

Example response:#

{
"responseCode": "000",
"terminalID": "20001",
"terminalName": "Cashier 1",
"checksum": "94E8E91C29E73B9648011FADBAE19849B520B24B"
}