Skip to main content

Get Biller Merchants

Overview

Description: This endpoint retrieves a list of biller merchants with their details and pagination support

Endpoint: {base_url}/merchants

REQUEST PARAMETERS

#ParameterTypeDescriptionRequired?
1categoryIdStringID of categoryYes
2subCategoryIdStringID of sub category. Leave empty to get all subcategoriesNo
3merchantIdStringID of merchant if specific merchant details are requiredNo
4pageIntegerPage numberNo
5sizeIntegerPage size of returned records. Number of records to be returned on a pageNo

Sample Requests

https://{base_url}/merchants?categoryId=67890007
https://{base_url}/merchants?categoryId=67890007&subCategoryId=283628836&page=2

RESPONSE PARAMETER

#ParameterTypeDescriptionMandatory
1billerMerchantsArray of ObjectsList of biller merchantsYes
2categoryidIntegerCategory ID associated with the merchantYes
3descriptionStringDescription of the merchantNo
4isdeletedBooleanIndicates if the merchant is deletedYes
5merchantidStringUnique identifier for the merchantYes
6merchantnameStringName of the merchantYes
7statusStringStatus of the merchant (e.g., APPROVED)Yes
8subcategoryidIntegerSubcategory ID associated with the merchantNo
9countIntegerNumber of merchants returnedYes
10errorStringError message if applicableNo
11execTimeStringExecution time of the requestNo
12hasnextBooleanIndicates if there is a next pageYes
13haspreviousBooleanIndicates if there is a previous pageYes
14islastBooleanIndicates if this is the last pageYes
15limitIntegerMaximum number of items per requestYes
16messageStringAdditional message about the responseNo
17offsetIntegerOffset value for paginationYes
18statusIntegerStatus code of the responseYes
19totalIntegerTotal number of merchants availableYes
GET / https://{base_url}/merchants
{
"billerMerchants": [
{
"categoryid": 0,
"description": "string",
"isdeleted": true,
"merchantid": "string",
"merchantname": "string",
"status": "APPROVED",
"subcategoryid": 0
}
],
"count": 0,
"error": "string",
"execTime": "string",
"hasnext": true,
"hasprevious": true,
"islast": true,
"limit": 0,
"message": "string",
"offset": 0,
"status": 0,
"total": 0
}