PAYJN API docs

Create a payout

Send money from your PAYJN balance to a customer's bank account or e-wallet, for withdrawals, earnings or seller settlements. The destination is set by bankCode; see the country pages for codes.

POST /api-pay/payout/order/create

Request headers

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

Request body

FieldTypeRequiredDescription
merchantCodeString(6)YesYour merchant code, issued by PAYJN after onboarding.
countryCodeStringYesCountry code of the market, for example IDN for Indonesia. See the country pages.
amountIntegerYesPayout amount in local currency.
merchantOrderIdString(50)YesYour own order number. Letters and digits, up to 50 characters, unique in your system. Used for queries and to prevent duplicates.
bankCodeStringYesDestination bank or e-wallet code, for example DANA or a bank code. See the country pages.
bankAccountNoStringYesRecipient's account number, or the wallet's registered phone number or account ID.
bankIdStringNoIndia only: the 11-character IFSC code when bankCode is IFSC.
merchantNotifyUrlStringYesYour server URL that receives the asynchronous result notification for this order.
remarkStringNoFree text, returned unchanged in the response.
customerObjectYesRecipient information.
customer.nameStringYesRecipient's name, as registered on the account.
customer.phoneStringYesCustomer's mobile number in the local format of the country.
customer.emailStringYesCustomer's email address, in a valid email format.
{
  "merchantCode": "100001",
  "amount": 30000,
  "countryCode": "IDN",
  "merchantOrderId": "PAYOUT20261129001",
  "bankCode": "DANA",
  "bankAccountNo": "081234567890",
  "merchantNotifyUrl": "https://merchant.example.com/payjn/payout-notify",
  "customer": {
    "name": "Recipient Name",
    "email": "recipient@example.com",
    "phone": "081234567890"
  }
}

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.merchantCodeStringYour merchant code.
data.countryCodeStringCountry code of the order.
data.platformOrderIdString(32)PAYJN order number.
data.merchantOrderIdString(50)Your order number.
data.amountStringOrder amount in local currency.
data.statusStringSUCCESS, FAILURE, PROCESSING or CANCELLED. See Order status.
data.bankCodeStringDestination code.
data.transFeeRateStringFee rate applied to the order, as agreed for your merchant account.
data.transFeeStringFee for this transaction.
data.totalTransFeeStringTotal fee for the order.
data.descStringResult description.
data.createTimeStringCreation time, local time.
data.successTimeStringSuccess time, local time.

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