DOKU Malaysia API Reference
Home
Products
Products
  • Checkout
  • Payment
  • Cards Payment
DOKU Docs
Home
Products
Products
  • Checkout
  • Payment
  • Cards Payment
DOKU Docs
  1. Response Code
  • Introduction
  • Getting Started
    • Create Account
    • Make your first API call
    • Authentication & API Keys
  • Checkout
    • Overview
    • Create Checkout
      POST
    • Retrieve Checkout Status
      GET
  • Payment
    • Overview
    • Create Payment
      POST
    • Get Bank List - FPX
      POST
    • Retrieve Payment Status
      GET
  • Cards Payment
    • Overview
    • Payment Form
      • Request Payment
    • Host-to-Host Payment
      • Check Three D Secure
      • Charge Payment
      • Capture Authorized Payment
    • Request Refund
      POST
    • Unbind Token
      POST
    • Check Status
      GET
  • Payout
    • Overview
    • Inquire Beneficiary Account
    • Send Payout
    • Read Payout Status
    • Read Available Balance
  • Notification
    • Overview
    • Retry Notification
    • Setup Notification URL
    • Sample Notification - Global
    • Sample Notification - Cards
  • Technical Reference
    • Authentication & Integrity
    • Idempotency
    • Data Type
    • Order & Transaction Status
    • Postman Collection
    • Response Code
      • Error Code
      • Payout Response Code
      • Credit Card Acquirer Response Code
    • API Version
      • Create Checkout
      • Create Payment
      • Get Bank List - FPX
      • Retrieve Checkout
      • Retrieve Payment
      • Inquire Beneficiary Account
      • Send Payout
      • Read Payout Status
      • Read Available Balance
    • Signature
      • Signature - Global
        • Prepare Signature Component
        • Generating Signature
        • Validating Signature
        • Sample Code
      • Signature - Cards Payment API
        • Signature Component from Response Header
        • Signature from API Get Method
        • Sample Code
        • Signature Component from Request Header
  1. Response Code

Payout Response Code

This section lists commonly encountered response codes of Payout API, along with their descriptions and recommended handling procedures. It is intended to help merchants understand the responses returned by the API and determine the appropriate actions to take during API usage.

Inquiry#

HTTPCodeMessageConditionStatusAction
200OK“status”: “SUCCESS”Inquiry successfully executedSUCCESSMerchant request payout
400Bad RequestAmount is not acceptableAmount carries more than two decimal, or is zero, negative, or below the smallest acceptedFAILEDMerchant check the amount format and do retry request
422Unprocessable EntityAccount cannot be used + the bank’s reasonThe destination bank reports the account is not exist, dormant, or unable to receiveFAILEDMerchant check the account number, verify to the customer (if needed), and retry request with a different account number

Payout#

HTTPCodeMessageConditionStatusAction
200OK“status”: “SUCCESS”Payout successfully executedSUCCESS-
200OK“status”: “PENDING”Bank response took longer than the set timeoutPENDINGDo not retry request. Merchant wait until T+1 max 5 PM MYT for the final status from the bank. For current status, Merchant could call Read Payout Status API. If the final status is SUCCESS, then the merchant cannot retry. If the final status is FAILED, then the merchant could retry the request.
403High Risk TransactionHigh risk transactionRequest is rejected by DOKU due to high risk transactionFAILEDMerchant to contact DOKU Sales PIC or Care
404Not FoundInquiry not foundThe quoted inquiry belongs to another merchantFAILEDMerchant check the valid quoted inquiry
409ConflictPayout reference already used with different contentReference already used before with different detailsFAILEDMerchant do retry request
422Unprocessable EntityBeneficiary name does not match the destination accountFailed to compare the beneficiary nameFAILEDMerchant do retry request with the correct name
422Unprocessable EntityInsufficient fundsThe merchant’s balance is insufficient or cannot be readFAILEDCheck remaining balance on the dashboard and make sure the balance are sufficient before retry request

Payout Status#

#

HTTPCodeMessageConditionStatusAction
200OK“status”: “SUCCESS”Check payout transaction successfully executedSUCCESS-
200OK“status”: “PENDING”Pending payout transaction, but successfully check the payout statusSUCCESSMerchant do check status to know the current payout status
200OK“status”: “FAILED”Failed payout transaction, but successfully checked the payout status. The deducted balance will return under the “Reversal” description.SUCCESSMerchant could retry the inquiry then payout.
200OK“status”: “REFUNDED”Refunded payout transaction, but successfully checked the payout status. Originated from a successful payout but then got a force back from the bank. The deducted balance will return under the “Refunded” description.SUCCESSMerchant could retry the inquiry then payout.
400Bad RequestReference is not validThe reference value sent is not a validFAILEDMerchant recheck the reference and retry request

Balance#

HTTPCodeMessageConditionStatusAction
200OK“status”: “SUCCESS”Check Merchant’s balance successfully executedSUCCESS-
400Bad RequestMissing merchant configurationNo currency is set or not an MY merchantFAILEDMerchant to contact DOKU Sales PIC
Modified at 2026-10-23 09:43:50
Previous
Error Code
Next
Credit Card Acquirer Response Code
Built with