Get a List of Merchants
This API retrieves a list of merchants based on optional query parameters.
Endpoint Information
Request Header:
X-BH-TOKEN: ******
Request Method:
GET
Request Path:
/v2/merchants
Authorization Required: Yes
Query Parameters
merchantName: (string) The name of the merchant (optional).
email: (string) The email of the merchant (optional).
currentPage: (int) The current page number (optional).
pageSize: (int) The number of results per page (default is 10, maximum is 1000).
Response Structure
The response will include the following fields:
Example Response
Notes
The
currentPage
field indicates the page of results currently being returned.The
size
field shows the number of results returned per page.The
total
field indicates the total number of merchants available based on the query.Each merchant object includes relevant details, such as ID, country, name, email, type, and timestamps for creation and updates.