Merchant

List all merchants#

GET /merchants

Returns list of merchants

Parameters#

NameTypeRequiredDescription
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": 1,
"totalRecord": 2
},
"merchants": [
{
"merchantID": "1023767377722",
"merchantName": "Jussi’s Noodles and Soup",
"merchantCategoryName": "Retail stores",
"merchantCategoryCode": "1029",
"numberOfTerminal": 8,
"merchantStatus": 1,
"seqNo": 1
},
{
"merchantID": 91,
"merchantName": "Test merchant no 1.",
"merchantCategoryName": "Telecommunication Service",
"merchantCategoryCode": "4814",
"numberOfTerminal": 1,
"merchantStatus": 1,
"seqNo": 2
}
],
"checksum": "94E8E91C29E73B9648011FADBAE19849B520B24B"
}

Retrieve a merchant#

GET /merchantdetails

Returns details of a merchant

Parameters#

NameTypeRequiredDescription
merchantIDstring(50)trueUnique Merchant ID set by the company
checkSumstringtrueChecksum of the query string

Example response:#

{
"responseCode": "000",
"merchantID": "1023767377722",
"merchantName": "Jussi’s Noodles and Soup",
"merchantContactName": "Jussi",
"merchantContactNumber": 800000012,
"merchantEmail": "jussi@jnoodle.co.th",
"merchantAddress": "Central Rama 9, Rama 9 road",
"merchantCity": "BANGKOK",
"merchantCountryName": "THAILAND",
"merchantCountryCode": "764",
"merchantCategoryName": "Retail stores",
"merchantCategoryCode": "1029",
"merchantPostalCode": "102394",
"merchantStatus": 1,
"merchantSettlementCurrencyCode": "764",
"maid": "",
"mvv": "",
"checksum": "94E8E91C29E73B9648011FADBAE19849B520B24B"
}