Payout Object

A payment to one beneficiary, its statuses and the deadlines that apply to it.

The Payout is a payment to one beneficiary. You create it from a quote, and it gets the referenceNo of that quote. Durianpay debits your IDR balance and pays the beneficiary's payment account in the destination currency.

📘

2000000 does not mean that the beneficiary is paid

When you create a payout and get 2000000, the payout exists. The result comes later, as a status change in global.payout.updated. See Payout Notification.

Payout fields

Every payout endpoint returns this resource, except Fetch Payout Receipt API and the sandbox Fetch Payout Transitions API.

The Fetch APIs also return payouts that were created in the Durianpay dashboard. These APIs are the Fetch Payout by ID API, the Fetch Payout by Reference API and the Fetch Payouts API.

FieldTypePresence and description
referenceNostringAlways. The payout referenceNo. It is the referenceNo of the quote that you sent when you created the payout.
partnerReferenceNostringAlways, except on a payout that was created in the Durianpay dashboard without a reference. Your original reference.
statusenumAlways. processing, need_action, completed, failed or refunded. See the status table below.
actionRequiredenumOnly for need_action. Coming soon.
customerReferenceNostringIn a setup with customers. The customer of the payout: the sender.
beneficiaryReferenceNostringAlways. The beneficiary of the payment account.
paymentAccountReferenceNostringAlways. The payment account of the payout.
purposeOfTransactionenumWhen payout.fields lists it and you send it. A code of the enum type purpose_of_transaction. Send the code of the real purpose of the payment. The API accepts every published purpose code on every corridor. But the receiving bank can refuse the purpose. In this case, the status of the payout becomes failed with PURPOSE_NOT_ACCEPTED.
relationshipenumWhen payout.fields lists it and you send it. The corridor requirements say if it is required.
sourceOfIncomeenumWhen payout.fields lists it and you send it. A code of the enum type source_of_income.
purposeDescription, noteToRecipientstringWhen payout.fields lists them and you send them. purposeDescription gives more detail about the purpose. noteToRecipient is a note for the beneficiary. Some corridors require noteToRecipient.
quoteobjectAlways. The quote of the payout. See the quote fields below.
destinationCountrystringAlways. The destination country of the quote.
destinationobjectAlways. The destination amount from the quote, {value, currency}.
documentsarrayAlways. The referenceNo values of the attached supporting documents. [] when no document is attached.
failureobjectOn failed payouts: {code}. See Response Code Handling for the failure codes.
settlementobjectOn completed and refunded payouts: {destinationActual, feesActual, completedAt}.
statusHistoryarrayOnly in Fetch Payout by ID API and Fetch Payout by Reference API. Every status change, as {status, occurredAt}.
createdAttimestampAlways. The time when the payout was created, in ISO 8601 UTC.

Nested objects

FieldDescription
quote.referenceNoThe quote referenceNo. It is the same as the payout referenceNo.
quote.payoutRailThe payout rail (the payment network that pays the account), for example ACH.
quote.rateIDR per one unit of the destination currency.
quote.feesThe fee, as {type, amount}.
quote.totalDebitThe total IDR debit: the source amount plus the fee.
settlement.destinationActualThe actual destination amount, {value, currency}.
settlement.feesActualThe actual fees, as {type, amount}.
settlement.completedAtThe time when the payout completed.
failure.codeThe failure code, such as INVALID_BENEFICIARY_DETAILS.
statusHistory[].statusA status of the payout.
statusHistory[].occurredAtThe time of the status change.

The agreed price of your payout is in quote and destination. The actual amounts are in settlement. Use settlement for your reconciliation.

{
  "responseCode": "2000000",
  "responseMessage": "Successful",
  "referenceNo": "orm_2m9x4h",
  "partnerReferenceNo": "merchant-tx-44821",
  "status": "completed",
  "customerReferenceNo": "cus_1abc9k",
  "beneficiaryReferenceNo": "par_7pq3m",
  "paymentAccountReferenceNo": "ppy_4kd9wq",
  "purposeOfTransaction": "OTHERS",
  "quote": {
    "referenceNo": "orm_2m9x4h",
    "payoutRail": "ACH",
    "rate": "16200.00",
    "fees": [
      {
        "type": "fixed_fee",
        "amount": {
          "value": "15000.00",
          "currency": "IDR"
        }
      }
    ],
    "totalDebit": {
      "value": "160015000.00",
      "currency": "IDR"
    }
  },
  "destinationCountry": "US",
  "destination": {
    "value": "9876.54",
    "currency": "USD"
  },
  "documents": [],
  "settlement": {
    "destinationActual": {
      "value": "9876.54",
      "currency": "USD"
    },
    "feesActual": [
      {
        "type": "fixed_fee",
        "amount": {
          "value": "15000.00",
          "currency": "IDR"
        }
      }
    ],
    "completedAt": "2026-06-10T03:41:07Z"
  },
  "statusHistory": [
    {
      "status": "processing",
      "occurredAt": "2026-06-10T03:22:10Z"
    },
    {
      "status": "completed",
      "occurredAt": "2026-06-10T03:41:07Z"
    }
  ],
  "createdAt": "2026-06-10T03:22:10Z"
}
{
  "responseCode": "2000000",
  "responseMessage": "Successful",
  "referenceNo": "orm_9kk1qw",
  "partnerReferenceNo": "merchant-tx-44830",
  "status": "failed",
  "customerReferenceNo": "cus_1abc9k",
  "beneficiaryReferenceNo": "par_7pq3m",
  "paymentAccountReferenceNo": "ppy_4kd9wq",
  "purposeOfTransaction": "OTHERS",
  "quote": {
    "referenceNo": "orm_9kk1qw",
    "payoutRail": "ACH",
    "rate": "16200.00",
    "fees": [
      {
        "type": "fixed_fee",
        "amount": {
          "value": "15000.00",
          "currency": "IDR"
        }
      }
    ],
    "totalDebit": {
      "value": "160015000.00",
      "currency": "IDR"
    }
  },
  "destinationCountry": "US",
  "destination": {
    "value": "9876.54",
    "currency": "USD"
  },
  "documents": [],
  "failure": {
    "code": "INVALID_BENEFICIARY_DETAILS"
  },
  "statusHistory": [
    {
      "status": "processing",
      "occurredAt": "2026-06-10T04:02:10Z"
    },
    {
      "status": "failed",
      "occurredAt": "2026-06-10T04:58:02Z"
    }
  ],
  "createdAt": "2026-06-10T04:02:10Z"
}

Refunds

The payout object has no refund fields. For a refunded payout, read additionalInfo.refundAmount in its global.payout.updated event. To check the money that came back, read your IDR balance. See Preparation.

Payout lifecycle

A payout starts in processing. The normal path is processing → completed. While the payout is processing, Durianpay screens and reviews it, debits your balance and sends it.

📘

Coming soon

need_action is for a payout that needs an action from you: a request for information (RFI) or a requote. This feature is coming soon.

A payout that cannot complete becomes failed. The failure object gives the cause, even when you cancel the payout. A completed payout becomes refunded when the funds come back after payment.

Payout lifecycle

In the image, a status that can still change has a dash-dot outline, and the webhooks are blue. An arrow shows a change that can occur, not a step that every payout takes. Always follow the status that the API returns.

FromToCause
processingneed_actionComing soon.
need_actionprocessingComing soon.
processingcompletedThe beneficiary is paid.
processingfailedYou cancel the payout (CANCELLED, coming soon), or Durianpay cannot complete it. The failure code gives the cause.
completedrefundedThe funds come back after payment. Durianpay returns the full totalDebit, fee included, to your balance.
  • Each change sends global.payout.updated.
  • failed and refunded are final: the status does not change again. A completed payout can change only to refunded.
  • When the status of a payout is completed, failed or refunded, the payout needs nothing more from you. Durianpay takes no more money for it.
  • If Durianpay debited your balance for a failed payout, Durianpay returns the debit to your available balance when the status changes.

Payout status

StatusDefinition
processingDurianpay screens or reviews the payout, debits your balance, or sends the payout. The money is not debited yet, or it is debited.
need_actionFor a payout that needs an action from you: a request for information (RFI) or a requote. This feature is coming soon.
completedThe beneficiary is paid. The payout can still become refunded if the funds come back.
failedThe payout cannot complete. failure gives the cause, even for a cancel. If Durianpay debited your balance, Durianpay already returned the debit to your available balance. Otherwise, no money moved.
refundedThe beneficiary was paid, and the funds came back. Durianpay returned refundAmount to your balance. refundAmount is in the global.payout.updated event. See Refunds above.
🚧

Do not create a new payout while a payout can still complete

Do not create a new payout while the original payout is processing. When the original payout is failed, you can create a new one immediately: create a new quote, then a new payout with a new partnerReferenceNo. If the failed payout had supporting documents, upload each file again as a new document, with a new partnerReferenceNo. A payout cannot use a document that another payout used, even when that payout is failed.

Status Definition gives your next step for each status.

Deadlines

All times are UTC. Send each action before its deadline. At the exact time of the deadline, it is already too late. Use the timestamps that the API returns for your countdowns and reminders.

  • Quote expiry is the expiresAt of the quote. Create the payout before this time. The lifetime of a quote varies, so read expiresAt in each quote.
  • FX window is the period from the creation of the payout's quote until the expiresAt of that quote. During this period, the payout uses the rate of the quote, even while the payout waits for screening or review.
DeadlineStarts whenEndsWhat occurs at the endYour next step
Quote expiryA quote is created.At the returned expiresAt.An unused quote expires. If you then create a payout with it, you get QUOTE_EXPIRED (4030000).Create a new quote.
FX windowThe quote of the payout is created.At the expiresAt of that quote.The end of the window alone does not change the status of the payout.See FX window end below.

FX window end

A payout can pass screening or review after its FX window has ended.

  • Not debited yet: the payout can become failed with the failure code QUOTE_EXPIRED. Then no money moved. Create a new quote and a new payout.
  • Already debited: the price does not change. quote and totalDebit stay the same. Durianpay continues the payout, or the payout becomes failed with PROCESSING_ERROR.

Names with "expired"

Several names contain "expired". Each one means something different:

NameMeaningYour next step
Error QUOTE_EXPIREDYou sent a quote after its expiresAt.Create a new quote.
Failure QUOTE_EXPIREDThe FX window ended before the debit, and the payout became failed. No money moved.Create a new quote and a new payout with a new partnerReferenceNo.
Quote status: expiredNo payout used the quote before expiresAt.Create a new quote.

Balance cut-off

The balance cut-off is a daily window in which Durianpay refuses debits. The API gives no start or end time: ask Durianpay for the schedule. If the cut-off refuses the debit of a payout, the payout becomes failed with the failure code BALANCE_CUT_OFF, and no money moves. Create a new quote, then a new payout with a new partnerReferenceNo.