Disbursement (pay-out)Indonesia region pay-out API (IDR ). See Payment methods .
Request POST /v2.0/disbursement/pay-out
Request Path: sandbox: https://sandbox-gateway.smilepayz.com/v2.0/disbursement/pay-out production: https://gateway.smilepayz.com/v2.0/disbursement/pay-out
Field Required Type Description Content-TypeM String application/json request body.X-TIMESTAMPM String Format: yyyy-MM-ddTHH:mm:ss±HH:mm X-SIGNATUREM String Signature of JSON body (see product Signature doc). X-PARTNER-IDM String Your merchantID (alphanumeric).
Body Parameters Field Required Type Description orderNoM String(32) Merchant-unique id, 6–32 alphanumeric. purposeM String(64) Memo to payer, 1–64 UTF-8 chars. merchantM Object Wraps merchantId and optional sub-merchant fields. merchantId M String Smilepayz merchantId for this call. merchantName O String UTF-8 merchant display name. subMerchantId O String Sub-merchant ID. subMerchantName O String UTF-8 name for subMerchantId. moneyM Object Currency plus amount for this transaction. currency M String Fixed to IDR. amount M Number IDR integer minor units (e.g. 150000 = IDR 150000). paymentMethodM String(6) Code (see Payment methods doc). cashAccountM String(32) Beneficiary bank account number. receiverO Object Beneficiary object (see Receiver model). name O String Beneficiary full name (UTF-8). accountNo O String Settlement accountNo if gateway returns it. callbackUrlO String(256) HTTPS async status URL, max 256 chars.
Example Body – Disbursement Request: Header Min Body
Content-type: application/json
X-TIMESTAMP: 2020-12-17T10:55:00+07:00
X-SIGNATURE: 7MHd9v5/m9JeqmDZVwWBZUZ5J5...7120QnFEny7Qm7uQR1G0TWCh10fsU6nVxiRoeoQ==
X-PARTNER-ID: 20001
{
"orderNo" : "2000102900000000000001" ,
"purpose" : "Payroll — Jakarta distribution partner" ,
"merchant" : {
"merchantId" : "20001"
} ,
"money" : {
"currency" : "IDR" ,
"amount" : 150000
} ,
"paymentMethod" : "BRI" ,
"cashAccount" : "78120011629261665" ,
"additionalParam" : { } ,
"receiver" : {
"name" : "Budi Santoso"
}
}
Responses HTTP Request Field Required Type Description Content-TypeM String application/json request body.X-TIMESTAMPM String Format: yyyy-MM-ddTHH:mm:ss±HH:mm
Body Parameters Field Required Type Description codeM String 00 success, other values error.messageM String UTF-8 human-readable result line. orderNoM String Merchant-unique id, 6–32 alphanumeric. tradeNoO String Smilepayz tradeNo for this order. merchantM Object Wraps merchantId and optional sub-merchant fields. merchantId M String Smilepayz merchantId for this call. merchantName O String UTF-8 merchant display name. subMerchantId O String Sub-merchant ID. subMerchantName O String UTF-8 name for subMerchantId. moneyM Object Currency plus amount for this transaction. currency M String Fixed to IDR. amount M Number IDR integer minor units (e.g. 150000 = IDR 150000). disbursementTimeM String Format (yyyy-MM-ddTHH:mm:ss±HH:mm). channelM Object Channel payload (paymentUrl, qrString, …). paymentMethod O String Code (see Payment methods doc). cashAccount O String Beneficiary bank account number. accountName O String Account holder name. statusO String Order or payment status enum value.
Example Body – Disbursement Response: Header Body
Content-type: application/json
X-TIMESTAMP: 2020-12-17T10:55:00+07:00
{
"code" : "00" ,
"message" : "successful" ,
"orderNo" : "2000102900000000000001" ,
"tradeNo" : "1022000109e998347483949" ,
"merchant" : {
"merchantId" : "20001" ,
"merchantName" : "Smilepayz Demo Store" ,
"accountNo" : "2000124234782342"
} ,
"money" : {
"currency" : "IDR" ,
"amount" : 150000
} ,
"disbursementTime" : "2024-12-17T10:55:00" ,
"channel" : {
"paymentMethod" : "BRI" ,
"cashAccount" : "78120011629261665" ,
"accountName" : "Budi Santoso"
} ,
"status" : "PROCESSING"
}
Notification/Callback HTTP Request Field Required Type Description Content-TypeM String application/json request body.X-TIMESTAMPM String Format: yyyy-MM-ddTHH:mm:ss±HH:mm X-SIGNATUREM String Callback body signature (see Callback signature guide ).
Body Parameters Field Required Type Description orderNoM String Merchant-unique id, 6–32 alphanumeric. tradeNoM String Smilepayz tradeNo for this order. merchantIdM String Smilepayz merchantId for this call. merchantNameM String UTF-8 merchant display name. subMerchantIdO String Sub-merchant ID. subMerchantNameO String UTF-8 name for subMerchantId. paymentMethodM String Code (see Payment methods doc). transactionTimeM String Format: yyyy-MM-ddTHH:mm:ss moneyM Object Currency plus amount for this transaction. currency M String Fixed to IDR. amount M Number IDR integer minor units (e.g. 150000 = IDR 150000). statusM String Order or payment status enum value.
Return Important
Respond with the string SUCCESS only.
Request Response
{
"orderNo" : "2000102900000000000001" ,
"tradeNo" : "1022000109e998347483949" ,
"merchantId" : "20001" ,
"merchantName" : "Smilepayz Demo Store" ,
"subMerchantId" : "" ,
"subMerchantName" : "" ,
"paymentMethod" : "BRI" ,
"transactionTime" : "2024-12-17T10:55:00+07:00" ,
"money" : {
"currency" : "IDR" ,
"amount" : 150000
} ,
"status" : "SUCCESS"
}
Prev
Pay-in collection