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 paidWhen you create a payout and get
2000000, the payout exists. The result comes later, as a status change inglobal.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.
| Field | Type | Presence and description |
|---|---|---|
referenceNo | string | Always. The payout referenceNo. It is the referenceNo of the quote that you sent when you created the payout. |
partnerReferenceNo | string | Always, except on a payout that was created in the Durianpay dashboard without a reference. Your original reference. |
status | enum | Always. processing, need_action, completed, failed or refunded. See the status table below. |
actionRequired | enum | Only for need_action. Coming soon. |
customerReferenceNo | string | In a setup with customers. The customer of the payout: the sender. |
beneficiaryReferenceNo | string | Always. The beneficiary of the payment account. |
paymentAccountReferenceNo | string | Always. The payment account of the payout. |
purposeOfTransaction | enum | When 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. |
relationship | enum | When payout.fields lists it and you send it. The corridor requirements say if it is required. |
sourceOfIncome | enum | When payout.fields lists it and you send it. A code of the enum type source_of_income. |
purposeDescription, noteToRecipient | string | When 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. |
quote | object | Always. The quote of the payout. See the quote fields below. |
destinationCountry | string | Always. The destination country of the quote. |
destination | object | Always. The destination amount from the quote, {value, currency}. |
documents | array | Always. The referenceNo values of the attached supporting documents. [] when no document is attached. |
failure | object | On failed payouts: {code}. See Response Code Handling for the failure codes. |
settlement | object | On completed and refunded payouts: {destinationActual, feesActual, completedAt}. |
statusHistory | array | Only in Fetch Payout by ID API and Fetch Payout by Reference API. Every status change, as {status, occurredAt}. |
createdAt | timestamp | Always. The time when the payout was created, in ISO 8601 UTC. |
Nested objects
| Field | Description |
|---|---|
quote.referenceNo | The quote referenceNo. It is the same as the payout referenceNo. |
quote.payoutRail | The payout rail (the payment network that pays the account), for example ACH. |
quote.rate | IDR per one unit of the destination currency. |
quote.fees | The fee, as {type, amount}. |
quote.totalDebit | The total IDR debit: the source amount plus the fee. |
settlement.destinationActual | The actual destination amount, {value, currency}. |
settlement.feesActual | The actual fees, as {type, amount}. |
settlement.completedAt | The time when the payout completed. |
failure.code | The failure code, such as INVALID_BENEFICIARY_DETAILS. |
statusHistory[].status | A status of the payout. |
statusHistory[].occurredAt | The 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_actionis 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.
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.
| From | To | Cause |
|---|---|---|
processing | need_action | Coming soon. |
need_action | processing | Coming soon. |
processing | completed | The beneficiary is paid. |
processing | failed | You cancel the payout (CANCELLED, coming soon), or Durianpay cannot complete it. The failure code gives the cause. |
completed | refunded | The funds come back after payment. Durianpay returns the full totalDebit, fee included, to your balance. |
- Each change sends
global.payout.updated. failedandrefundedare final: the status does not change again. Acompletedpayout can change only torefunded.- When the status of a payout is
completed,failedorrefunded, the payout needs nothing more from you. Durianpay takes no more money for it. - If Durianpay debited your balance for a
failedpayout, Durianpay returns the debit to your available balance when the status changes.
Payout status
| Status | Definition |
|---|---|
| processing | Durianpay screens or reviews the payout, debits your balance, or sends the payout. The money is not debited yet, or it is debited. |
| need_action | For a payout that needs an action from you: a request for information (RFI) or a requote. This feature is coming soon. |
| completed | The beneficiary is paid. The payout can still become refunded if the funds come back. |
| failed | The 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. |
| refunded | The 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 completeDo not create a new payout while the original payout is
processing. When the original payout isfailed, you can create a new one immediately: create a new quote, then a new payout with a newpartnerReferenceNo. If the failed payout had supporting documents, upload each file again as a new document, with a newpartnerReferenceNo. A payout cannot use a document that another payout used, even when that payout isfailed.
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
expiresAtof the quote. Create the payout before this time. The lifetime of a quote varies, so readexpiresAtin each quote. - FX window is the period from the creation of the payout's quote until the
expiresAtof that quote. During this period, the payout uses the rate of the quote, even while the payout waits for screening or review.
| Deadline | Starts when | Ends | What occurs at the end | Your next step |
|---|---|---|---|---|
| Quote expiry | A 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 window | The 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
failedwith the failure codeQUOTE_EXPIRED. Then no money moved. Create a new quote and a new payout. - Already debited: the price does not change.
quoteandtotalDebitstay the same. Durianpay continues the payout, or the payout becomesfailedwithPROCESSING_ERROR.
Names with "expired"
Several names contain "expired". Each one means something different:
| Name | Meaning | Your next step |
|---|---|---|
Error QUOTE_EXPIRED | You sent a quote after its expiresAt. | Create a new quote. |
Failure QUOTE_EXPIRED | The 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: expired | No 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.
