For AI agents: visit https://docs.midtrans.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
Get merchant API is an API call that can be used to search merchants within the system based on various criteria. This API provides several parameters to filter data and perform pagination.
Request Header
Field
Type
Attribute
Description
Authorization
String
Mandatory
Basic Base64Encode(partnerServerKey:)
X-PARTNER-ID
String
Mandatory
Unique identifier for partner. Provided by Midtrans.
Request Params
Field
Type
Attribute
Description
page
Int
Optional
Maximum number of data returned in one pagination. Default: 1