PAYJN API docs

Result notifications

When a collection or payout reaches a result, PAYJN sends a POST request with a JSON body to the merchantNotifyUrl of the order. Reply with the plain text SUCCESS. If PAYJN does not receive it, the notification is retried up to 8 times.

Attempt12345678
Delay1s5s10s30s60s300s900s1800s

Callback timing is typically 1 to 5 seconds after the final result, depending on the route.

Collection notification body

FieldTypeDescription
statusStringSUCCESS, FAILURE, PROCESSING or CANCELLED.
merchantCodeString(6)Your merchant code.
merchantOrderIdString(50)Your order number.
platformOrderIdString(32)PAYJN order number.
paymentMethodCodeStringPayment method.
countryCodeStringCountry code.
amountStringOrder amount.
paidAmountStringAmount actually received. It can differ from amount.
createTimeStringCreation time.
successTimeStringSuccess time.
{
  "platformOrderId": "C1000011764400000000001",
  "merchantOrderId": "ORDER20261129001",
  "amount": "50000.00",
  "paidAmount": "50000.00",
  "status": "SUCCESS",
  "paymentMethodCode": "QRIS",
  "desc": "",
  "createTime": "2026-11-29 10:00:00",
  "successTime": "2026-11-29 10:01:12"
}

Payout notifications carry the same fields for the payout order, with the destination bankCode.

Process notifications safely

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