Skip to main content

Error Response - SNAP

Error Response for SNAP

Here is the list of status that DOKU will provide for the transaction.status:

CategoryHTTP CodeService CodeCase CodeResponse MessageDescription
Success200any00SuccessfulSuccessful
Success202any00Request In ProgressTransaction still on process
System400any00Bad RequestGeneral request failed error, including message parsing failed.
Message400any01Invalid Field Format {field name}Invalid format
System401any00Unauthorized. [reason]General unauthorized error (No Interface Def, API is Invalid, Oauth Failed, Verify Client Secret Fail, Client Forbidden Access API, Unknown Client, Key not Found)
System401any01Invalid Token (B2B)Token found in request is invalid (Access Token Not Exist, Access Token Expiry)
System401any02Invalid Customer TokenToken found in request is invalid (Access Token Not Exist, Access Token Expiry)
System401any03Token Not Found (B2B)Token not found in the system. This occurs on any API that requires token as input parameter
System401any04Customer Token Not FoundToken not found in the system. This occurs on any API that requires token as input parameter
Business403any00Transaction ExpiredTransaction expired
System403any01Feature Not Allowed [Reason]This merchant is not allowed to call Direct Debit APIs
Business403any02Exceeds Transaction Amount LimitExceeds Transaction Amount Limit
Business403any03Suspected FraudSuspected Fraud
Business403any04Activity Count Limit ExceededToo many request, Exceeds Transaction Frequency Limit
Business403any05Do Not HonorAccount or User status is abnormal
System403any06Feature Not Allowed At This Time. [reason]Cut off In Progress
Business403any07Card BlockedThe payment card is blocked
Business403any08Card ExpiredThe payment card is expired
Business403any09Dormant AccountThe account is dormant
Business403any10Need To Set Token LimitNeed to set token limit
System403any11OTP BlockedOTP has been blocked
System403any12OTP Lifetime Expiredinitiates request OTP to the issuer
System403any13OTP Sent To CardholerToken found in request is invalid (Access Token Not Exist, Access Token Expiry)
Business403any14Insufficient FundsInsufficient Funds
Business403any15Transaction Not Permitted.Transaction Not Permitted
Business403any16Suspend TransactionSuspend Transaction
Business403any17Token Limit ExceededPurchase amount exceeds the token limit set prior
Business403any18Inactive Card/Account/CustomerIndicates inactive account
Business403any19Merchant BlacklistedMerchant is suspended from calling any APIs
Business403any20Merchant Limit ExceedMerchant aggregated purchase amount on that day exceeds the agreed limit
Business403any20Merchant Limit ExceedMerchant aggregated purchase amount on that day exceeds the agreed limit
Business403any21Set Limit Not AllowedSet limit not allowed on particular token
Business403any22Token Limit InvalidThe token limit desired by the merchant is not within the agreed range between the merchant and the Issuer
Business403any23Account Limit ExceedAccount aggregated purchase amount on that day exceeds the agreed limit
Business404any00Invalid Transaction StatusInvalid transaction status
Business404any01Transaction Not FoundTransaction not found
Business404any02Invalid RoutingInvalid Routing
Business404any03Bank Not Supported By SwitchBank not supported by switch
Business404any04Transaction CancelledTransaction is cancelled by customer
Business404any05Merchant Is Not Registered For Card Registration ServicesMerchant is not registered for Card Registration services
Business404any06Need To Request OTPNeed to request OTP
Business404any07Journey Not FoundThe journeyID cannot be found in the system
Business404any08Invalid MerchantMerchant does not exist or status abnormal
Business404any09No IssuerNo issuer
Business404any10Invalid API TransitionInvalid API transition within a journey
Business404any11Invalid Card/Account/Customer [info]/Virtual AccountCard information may be invalid, or the card account may be blacklisted, or Virtual Account number maybe invalid.
Business404any12Invalid Bill/Virtual AccountThe bill is blocked/ suspended/not found.
Business404any13Invalid AmountThe amount doesn't match with what supposed to
Business404any14Paid BillThe bill has been paid
Business404any15Invalid OTPOTP is incorrect
Business404any16Partner Not FoundPartner number can't be found
Business404any17Invalid TerminalTerminal does not exist in the system
Business404any18Inconsistent RequestInconsistent request parameter found for the same partner reference number/transaction id
Business404any19Invalid Bill/Virtual AccountThe bill is expired.
Business405any00Requested Function Is Not SupportedRequested function is not supported
Business405any01Requested Opearation Is Not AllowedRequested operation to cancel/refund transaction Is not allowed at this time
Business409any00ConflictCannot use same X-EXTERNAL-ID in same day
Business409any01Duplicate partnerReferenceNoTransaction has previously been processed indicates the same partnerReferenceNo already success
Business429any00Too Many RequestsMaximum transaction limit exceeded
Business500any00General ErrorGeneral Error
Business500any01Internal Server ErrorUnknown Internal Server Failure, Please retry the process again
Business500any02External Server ErrorBackend system failure, etc
Business504any00Timeouttimeout from the issuer