Lewati ke konten utama

Query Disbursement

Look up the status of an existing disbursement.

Endpoint

POST /api/disbursement/query

Authentication

RSA-SHA256 X-SIGNATURE header. See Authentication.

Request

Headers

HeaderRequiredDescription
X-SIGNATUREYesBase64-encoded RSA-SHA256 signature
Content-TypeYesapplication/json

Body

FieldTypeRequiredDescription
clientIdstringYesYour legacy_client_id
orderIdstringYesThe orderId used when creating the disbursement

Example

PHP
$body = json_encode([
'clientId' => 'TEST_CLIENT_001',
'orderId' => 'DISB-2026-001',
]);

$bodyHash = hash('sha256', $body);
$stringToSign = "TEST_CLIENT_001|TEST_SECRET_001|$bodyHash";
openssl_sign($stringToSign, $rawSig, $privateKey, OPENSSL_ALGO_SHA256);
$xSignature = base64_encode($rawSig);

$ch = curl_init('https://api.nusio-saka.com/api/disbursement/query');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Content-Type: application/json', 'X-SIGNATURE: ' . $xSignature],
CURLOPT_POSTFIELDS => $body,
]);
$response = json_decode(curl_exec($ch), true);

Response

HTTP 200 OK

{
"code": 200,
"message": "Success",
"data": {
"refCode": "DSB-260601110000-C3D4",
"orderId": "DISB-2026-001",
"accountNumber": "1234567890",
"accountName": "Budi Santoso",
"bank": {
"name": "Bank Central Asia",
"code": "BCA"
},
"requestAmount": "500000.00",
"disbursementFee": "5000.00",
"disbursementAmount": "505000.00",
"status": "SUCCESS",
"requestAt": "2026-06-01 11:00:00"
}
}

Status Values

StatusDescription
PENDINGSubmitted, awaiting processing
IN_REVIEWUnder manual review
ON_PROCESSBeing sent to bank/e-wallet
SUCCESSFunds delivered
FAILEDTransfer failed
REJECTEDRejected by platform

Error Responses

MessageDescription
Order ID not foundNo disbursement with this orderId for your merchant
Invalid X-SIGNATURESignature verification failed