Get a List of Merchant Accounts
This API retrieves a list of accounts associated with merchants based on optional query parameters.
Endpoint Information
Request Header:
X-BH-TOKEN: ******Request Method:
GETRequest Path:
/v2/merchant/accountsAuthorization Required: Yes
Query Parameters
merchantId: (int) The ID (MID) associated with the Merchant (optional).
merchantName: (string) The name of the merchant (optional).
email: (string) The email of the merchant (optional).
fiat: (string) The fiat currency (optional).
status: (int) The status of the merchant [1: authenticating, 2: normal, 3: authentication failed] (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
currentPagefield indicates the page of results currently being returned.The
sizefield shows the number of results returned per page.The
totalfield indicates the total number of merchant accounts available based on the query.Each account object includes relevant details such as merchant ID, fiat currency, balance, status, limits, and timestamps for creation and updates.
Last updated