Every status of the Global Payout API, what it means and what you do next.
This page lists every status that the Global Payout API returns. Read the status of a resource, and choose your next step from the tables below. For a deadline, use a timestamp that the API returns, for example the expiresAt of a quote.
Status fields
| Resource | Field | Values |
|---|---|---|
| Payout | status | processing, need_action, completed, failed, refunded |
| Payout | actionRequired | Coming soon. Only while the payout is need_action |
| Beneficiary | status | processing, active, rejected, inactive |
| Payment account | status | processing, active, inactive |
| Customer | status | processing, active, rejected, inactive |
| Account validation | status | valid, invalid, service_unavailable |
| Account validation | details.accountNameMatchResult | matched, partial_match, unmatched, unavailable |
| Quote | status | active, expired, used |
| Document | status | pending_upload, uploaded, attached |
Payout Status
Read status to choose your next step.
| Status | Description | Money | Your next step |
|---|---|---|---|
| processing | Durianpay screens or reviews the payout, debits your balance, or sends the payout. | Not debited yet, or debited. | Wait for the outcome. To stop the payout before Durianpay sends it, send cancel with Payout Action API (coming soon). |
| need_action | For a payout that needs an action from you: a request for information (RFI) or a requote. This feature is coming soon. | — | Coming soon. |
| completed | The beneficiary is paid. | Paid. | Reconcile settlement and get the receipt. 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. | Final. 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. See the payout failure codes in Response Code Handling. |
| refunded | The beneficiary was paid, and the funds came back. Durianpay returned refundAmount to your balance. | Returned after payment. | Final. Check additionalInfo.refundAmount in the global.payout.updated event, and your balance. |
failed and refunded are final: the status does not change again. completed can still change 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.
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.
Do not create a new payout while a payout can still completeDo not create a new payout while the original payout is
processing.
To check money that came back to your balance, read your IDR balance. See Preparation. Payout Object shows the lifecycle and the deadlines.
Beneficiary Status
| Status | Description | Your next step |
|---|---|---|
| active | The only status in which a new payout can use the beneficiary's payment accounts. | Send the referenceNo of one of its payment accounts when you create a payout. |
| processing, after create | Durianpay screens or reviews the beneficiary. You do not have to do an action. The status becomes active or rejected, unless you deactivate the beneficiary. | Call the Fetch Beneficiary by ID API, or handle global.beneficiary.updated, until the beneficiary is no longer processing. |
| processing, after an update | If you change a field that Durianpay screens, Durianpay screens the beneficiary again. | Call the Fetch Beneficiary by ID API, or handle global.beneficiary.updated, until the beneficiary is no longer processing. |
| rejected | Screening rejected the beneficiary. If screening rejects it after an update, see Beneficiary Object for the effect on its payouts. | Do not use it. |
| inactive | You deactivate the beneficiary with DELETE /v1.0/global/beneficiaries/{referenceNo}, from processing or active. Payouts that already exist continue with the beneficiary details from their creation. | Do not use it for new payouts. |
Customer Status
| Status | Description | Your next step |
|---|---|---|
| processing | Durianpay screens or reviews the customer. | Call the Fetch Customer by ID API, or handle global.customer.updated, until the customer is no longer processing. |
| processing, after an update | If you change the name, identity-document number, birth date or nationality, Durianpay screens the customer again. | Call the Fetch Customer by ID API, or handle global.customer.updated, until the customer is no longer processing. |
| active | You can use the customer for new payouts. | Send its referenceNo when you create a payout. |
| rejected | The rejection is final. If screening rejects the customer after an update, see Customer Object for the effect on its payouts. | You cannot update it or use it for new payouts. |
| inactive | You deactivate the customer with DELETE /v1.0/global/customers/{referenceNo}. | You cannot update it or use it for new payouts. |
Account Validation Result
Validate Account API returns one of these results. The API returns HTTP 200 for every result.
| Status | Description | Your next step |
|---|---|---|
| valid | The check accepted the account details for the selected payout rail. | Continue with the payment account, the quote and the payout. |
| invalid | The check refused the account details. When you create the payout, the API does not use this result. | Check the account details. |
| service_unavailable | Account validation is not available now. | Validate again later. |
service_unavailable is a value of status. unavailable is a value of details.accountNameMatchResult. They are different fields.
You can create a payout after every result, even after invalid. Use the result as information for your own checks.
details.accountNameMatchResult is always in the response. It tells you how the accountHolderName that you sent compares with the name that the bank holds: matched, partial_match, unmatched or unavailable. unavailable means that no name check was possible, for example because you did not send accountHolderName or the bank returned no name.
Quote Status
| Status | Description | Your next step |
|---|---|---|
| active | No payout has used the quote. You can use it until expiresAt. | Create the payout before expiresAt. |
| expired | expiresAt passed before a payout used the quote. | Create a new quote. |
| used | A payout used the quote. | None. Only one payout can use a quote. Call the Fetch Payout by ID API with the same referenceNo. |
Document Status
| Status | Description | Your next step |
|---|---|---|
| pending_upload | Durianpay has the details of the document, but not the file. | Send the file to the uploadUrl. If the link expired, send the Upload Document API request again, with the same partnerReferenceNo and the same request body. The response has a new uploadUrl. Do not send the document in a payout yet. |
| uploaded | Durianpay has the file. No payout uses the document. | Send its referenceNo in the documents of a payout. |
| attached | A payout uses the document. | None. The file can no longer change, and no other payout can use the document. |
Document Object shows the fields and the rules of a document.
