v1

latestOpenAPI 3.0.02026-07-246335313.6 KB
Recon APIs

Export Dashboard Source Records

This endpoint is used to download the ingested records of a Data Source

post/api/recon/v3/export-dashboard-records

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

fromstring required

The Start date of date range

tostring required

The End date of date range

data_sourcestring required

The data_source_id for which you want to fetch the records

record_type'payment' | 'refund' required

payment for forward transactions and refund for recon of refund transactions

status'reconciled' | 'unreconciled' | 'SankeyReconOrders' | 'SankeyUnmatchedSku' required

status of records, can be empty string

mismatches'mismatch_no' | 'mismatch_fee' | 'mismatch_tax' | 'mismatch_amount' | 'mismatch_quantity'

to fetch reconciled transactions on basis of mismatch like Amount mismatch, Fee mismatch, Quantity mismatch, etc.

msm_idinteger required

Merchant Source Mapping ID, get it from data-sources api

environment'live' | 'sandbox' required

The environment of the transaction is either live OR sandbox

Example request

{
  "from": "2021-12-31T18:30:00.000Z",
  "to": "2024-04-09T18:29:59.743Z",
  "data_source": "LAZADA_ORDER",
  "record_type": "payment",
  "status": "reconciled",
  "brand_id": [],
  "marketplace_id": [],
  "mismatches": [
    "no_mismatch",
    "mismatch_quantity"
  ],
  "msm_id": 27,
  "environment": "sandbox"
}

Response

OK