Skip to content
PGSwift Docs
Documentation/Disbursement Completed Webhook

Disbursement Completed Webhook

POST disbursement.completed

Request Headers

All webhook requests include the following headers for authentication and verification:

Header Description
X-PARTNER-ID Your client identifier
X-TIMESTAMP Request timestamp in ISO8601 format (e.g., 2024-12-18T16:21:07+07:00)
X-SIGNATURE RSA signature for request verification (see Signature Generation)

Payload Structure

Name Type Description
event string Event name: "disbursement.completed"
data object Disbursement detail
data.id string Inquiry ID (unique identifier)
data.merchant_transaction_id string Unique identifier provided by the client for the merchant
data.amount number Total transaction amount.
data.bank_code string Bank code (e.g., "014", "002")
data.bank_name string Full bank name
data.account_name string Recipient account holder name
data.account_number string Recipient account number
data.status string Status: "success" or "fail"
data.created_at string Inquiry creation timestamp (ISO 8601)
data.updated_at string Last update timestamp (ISO 8601)
{
  "event": "disbursement.completed",
  "data": {
    "id": "01jmmtbfcthj8y0eg3w1he4q3t",
    "merchant_transaction_id": "RLG00000000",
    "amount": 25000,
    "bank_code": "002",
    "bank_name": "Bank Rakyat Indonesia",
    "account_name": "John Doe",
    "account_number": "0000000000",
    "status": "success",
    "created_at": "2025-01-10T00:54:42+07:00",
    "updated_at": "2025-01-10T00:54:48+07:00"
  }
}