v1

latestOpenAPI 3.0.02026-07-246335313.6 KB
MasterMerchant APIs

Export Sub-merchants Transactions

Export Sub-merchants Transactions as a CSV/XLS file

post/api/master-merchant/{mkey}/merchants/export-transactions

Path parameters

mkeystring required

Headers

X-Portone-Client-Keystring
Authorizationstring

The Authorization header is used to include the JWT for authenticating API requests; learn how to generate the token <a href="/docs/jwt-authentication" target="_blank">in this guide</a>

Request body

pageinteger required

The page number of the data to be fetched.

pagesizeinteger required

The page size of the data to be fetched.

fromstring required

The from Date to fetch the sub-merchant.

tostring required

The to Date to fetch the sub-merchant.

merchant_keysstring[] required

The list of Sub-merchants PortOne keys

environment'live' | 'sandbox' required

The environment of the transaction is either live OR sandbox

Example request

{
  "page": 1,
  "pagesize": 10,
  "from": "2006-01-02 15:04:05",
  "to": "2026-09-13 16:04:00",
  "merchant_keys": [],
  "environment": "sandbox"
}

Response

Successful response

messagestring

The description of the API request execution result

status_codestring

The status_code for API request execution result

status_reasonstring

The status_reason for API request execution result