Skip to main content

Response Codes

RedDragonPay uses response codes to indicate the outcome of a transaction. Below is a comprehensive list of response codes and their meanings:

Response CodeResponse messageComments
000SuccessTransaction captured
001Acquirer ErrorAcquirer bank not available
002DeniedDenied by Bank
003TimeoutTransaction timed out
004DeclinedDeclined by bank
005Authentication not availableAuthentication issue
006Transaction processingTransaction in process
007Rejected by acquirerRejected by bank
008DuplicateDuplicate submission
009Response signature did not matchResponse from acquirer did not match, re-check transaction status
010Cancelled by userUser pressed cancel button
011Authorization success but error processing recurring payment
012Denied due to fraud detection
013Total refund amount greater than sale amount
014Refund Amount should be less than today’s Captured Amount
015Transaction is pendingTransaction is pending
016Invalid refund amount
017Acquirer service down
018Duplicate order ID
019Duplicate refund order ID
022Failed at acquirerTransaction was not processed by bank
026PendingTransaction in process
100User not foundInvalid credentials used
105Invalid credentials usedUser not active
113Payment option not supportedPayment method not allowed for the user
130Currency not supported
207Invalid refund amountTotal Refund Amount should be less than today’s Captured Amount

It is recommended to check the combination of status and response code received in response. Response Code: (000) + Status: (Captured) = Successfully Captured

Possible Status

  • Authentication Failed

  • Browser Closed

  • Cancelled

  • Captured

  • Duplicate

  • Enrolled

  • Failed

  • Failed at Acquirer

  • Failed by acquirer

  • Invalid

  • Pending

  • Rejected

  • Timeout

  • Approved

  • Case 1: RESPONSE_CODE = 000 and STATUS = Captured : When you receive this combination, it means transaction successful and completed

  • Case 2: RESPONSE_CODE = Any Code and STATUS = Timeout or STATUS = Pending : When you receive this combination, It means transaction is not completed, transaction neither failed or success, PG is waiting status from Acquirer to update transaction’s final status, in this case you can check with status API until you get final status of the transaction.

  • Case 3: RESPONSE_CODE = 000 and STATUS = Enrolled : When you receive this combination, it means transaction is not completed waiting for next step authentication, this combination usually comes in 3DS transaction

  • Case 4: RESPONSE_CODE = Any Code other than 000 and STATUS = Any Status other than (Captured, Enrolled, Pending and timeout): when you receive this combination you can consider transaction is failed or rejected.

For Invalid/Error Transaction

Response CodeResponse message
300Invalid Request
302No transaction found
323Invalid Hash
327Invalid request (Request URL)
900Internal system error
999Unknown Error