List a day's successful orders
Page through all successful pay-in orders of one day for reconciliation against your own records.
POST /api-pay/collection/merchant/historySuccessOrder
Request headers
| Field | Type | Required | Description |
|---|---|---|---|
Content-Type | String | Yes | application/json |
sign | String | Yes | Request signature. See Authentication. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
merchantCode | String(6) | Yes | Your merchant code, issued by PAYJN after onboarding. |
date | String | Yes | Day to list, yyyy-MM-dd. |
countryCode | String | Yes | Country code of the market, for example IDN for Indonesia. See the country pages. |
payType | String | Yes | Order type to list. |
pageNum | Integer | Yes | Page number, starting from 1. |
pageSize | Integer | Yes | Records per page. |
{
"merchantCode": "100001",
"date": "2026-11-28",
"countryCode": "IDN",
"payType": "COLLECTION",
"pageNum": 1,
"pageSize": 100
}
Response
| Field | Type | Description |
|---|---|---|
code | Integer | 200 means the request was accepted. Any other value is an error; see msg. |
msg | String | Error message when code is not 200. |
data | Object | Result object, returned when code is 200. |
data.total | String | Number of successful orders that day. |
data.list[].mid | String | Your order number. |
data.list[].ct | String | Creation time. |
data.list[].ft | String | Success time. |
data.list[].amt | String | Order amount. |
data.list[].pamt | String | Amount actually paid. |
data.list[].fee | String | Fee. |
data.list[].md | String | Payment method code. |
Notes
- Available in Indonesia, Pakistan, Bangladesh and Malaysia.
Get API access
Full integration documentation, your API host, merchant code and keys are provided after onboarding. Review is usually completed on the same day, and a test mode is switched on for your account before launch.