PAYJN API docs

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

FieldTypeRequiredDescription
Content-TypeStringYesapplication/json
signStringYesRequest signature. See Authentication.

Request body

FieldTypeRequiredDescription
merchantCodeString(6)YesYour merchant code, issued by PAYJN after onboarding.
dateStringYesDay to list, yyyy-MM-dd.
countryCodeStringYesCountry code of the market, for example IDN for Indonesia. See the country pages.
payTypeStringYesOrder type to list.
pageNumIntegerYesPage number, starting from 1.
pageSizeIntegerYesRecords per page.
{
  "merchantCode": "100001",
  "date": "2026-11-28",
  "countryCode": "IDN",
  "payType": "COLLECTION",
  "pageNum": 1,
  "pageSize": 100
}

Response

FieldTypeDescription
codeInteger200 means the request was accepted. Any other value is an error; see msg.
msgStringError message when code is not 200.
dataObjectResult object, returned when code is 200.
data.totalStringNumber of successful orders that day.
data.list[].midStringYour order number.
data.list[].ctStringCreation time.
data.list[].ftStringSuccess time.
data.list[].amtStringOrder amount.
data.list[].pamtStringAmount actually paid.
data.list[].feeStringFee.
data.list[].mdStringPayment method code.

Notes

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.

Talk to PAYJN

Last updated 29 November 2026 ยท PAYJN local payment APIs for Indonesia, Pakistan, Bangladesh, Vietnam, India and Malaysia