RDP Direct APIs

APPENDIX B (Response Code)

Response Code Description
0 OK
-1 Bank or acquirer rejection.
-2 Unable to contact the bank or acquirer.
-3 System Exception
-01 The transaction is on pending status. Merchant need to continue with either polling query API or waiting for push notification (if there is 'notify_url' parameter at request phase).
-100 Token is not authorized for doing transaction.
-1002 Merchant ID (MID) is not found.
-1003 Invalid signature.
-1005 The 'api_mode' parameter can only use these following values: 'redirection_hosted', 'redirection_sop', 'direct_3d' or 'direct_n3d'.
-1006 Merchant account is not setup to use [string] api_mode.
-1007 The 'pg-channel' is not setup to use [string] api_mode.
-1008 cannot find request for mid : [string] with transaction-id: [string]
-1009 cannot find history for mid : [string] with transaction-id: [string]
-1011 The 'payment_type' parameter can only have values either "S" (for sales) or "A" (for authorize).
-1012 The 'payment_type' parameter can only have value: "S" (for sales).
-1013 The 'order_id' parameter is required to only use alphanumeric, dash, or underscore characters with the maximum length of 32 characters.
-1014 [string] exceeds the maximum length of : [number].
-1015 [string] must have %d characters.
-1016 [string] must only consist of alphabet.
-1017 The 'multiple_method_page' parameter can only have '1' or '0' as its value, and cannot accept [string].
-1018 [string] is not a valid IP address.
-1019 The 'order_id' parameter is required to only have alphanumeric characters with the maximum length of 32 characters.
-1020 Internal error, failed to store required data.
-1021 Airline passenger name cannot be more or longer than 40 characters.
-1022 The number of passengers must be in numeric format.
-1023 Airline departure date must be in yyyy-mm-dd format.
-1103 It is required to supply 'card_no' parameter.
-1104 It is required to supply either 'card_no' or 'token_id' or 'payer_id' or 'wallet_id' parameter.
-1105 Can only submit or supply one of these following parameters: 'card_no' or 'token_id' or 'payer_id'.
-1106 Request message can only contain either 'wallet_id' or 'payer_id'.
-1107 Request message requires either 'wallet_id' or 'payer_id'.
-1111 The tokenization feature is not activated for merchant account.
-1112 Error in credit card's tokenization process.
-1301 Invalid URL format for [string].
-1302 Invalid value for 'multiple_method_page' parameter.
-1303 [string] is an invalid form-mode.
-1304 Invalid signature for starting 'start_process_payment' parameter.
-1400 FDS (Fraud Detection System) error.
-1901 [string] cannot be found.
-1902 [string] should not be empty.
-1903 The value inside 'payer_email' parameter is not a valid email address.
-1904 [string] can only consists of alphanumeric, space, dash, or underscore character.
-1905 The 'card_no' parameter can only consist of numeric, with maximum length of 19 digits.
-1906 Invalid 'exp_date' parameter format. It should be in MMYYYY format. Example: 122015 (for December 2015).
-1907 The 'cvv2' parameter can only consist of 3 - 4 numeric digits.
-1908 The 'token_id' parameter can only consist of 12 - 19 numeric digits.
-1909 Invalid format for amount. Correct samples: 0.77 (for SGD) or 1020 (for IDR).
-1910 The amount should only have %u digits behind commas, for ccy of %s.
-1911 The 'ccy' parameter value is not supported or invalid. It must be in ISO-4217 alphabetical format in uppercase letters.
-1912 The 'ccy' parameter value is not supported with your current acquirer setup.
-1913 The value under 'locale' parameter is not supported. Currently it only supports: "en" for English, "fr" for French, "de" for Deutsch, "es" for Spanish, and "id" for Bahasa.
-1914 The 'caller_uri' parameter value is not a valid URL.
-1915 The parameter value can only consist of alphanumeric, dash, or underscore character.
-1916 Amount cannot exceed 30000 [string].
-2001 Invalid request format.
-2002 Merchant's acquirer account is not supported under this API.
-2003 Merchant's acquirer account is not supported under this API mode.
-2004 System error for rdp-payment-cashier.
-2005 Merchant's acquirer account is not supported under this API mode.
-2102 Error in storing your request.
-2201 Failed to generate transaction-id.
-2202 Duplicated 'order-id' parameter, where merchant account is setup to have a unique order ID value.
-2203 The 'acquirer-gw' account is not setup properly (cybs-mid).
-2301 Payer ID cannot be found.
-2302 Payer detail cannot be found.
-2303 Account configuration for settlement is not set.
-2304 Invalid installment tenure period, it should be [number] months.
-2305 The installment amount should be greater than or equal to %s.
-2306 BIN filter code cannot be found.
-2307 Your card number is not valid for this transaction.
-2308 We are unable to process your payment currently. Please check with the Issuer
-2405 Store code cannot be found.
-3001 The card detail has been tokenized before.
-3002 Failed to generate token with this following reason: [string].
-3003 Initial tokenization request is failed. Please try to recreate the token.
-3005 Invalid format of %s. Correct samples: 0.77 (for SGD) or 1020 (for IDR).
-3006 [string] should only have %u digits behind commas, for currency of [string].
-3008 The 'acquirer_authorized_amount' parameter is exists but somehow 'acquirer_authorized_ccy' parameter is not exists.
-3009 [string] must use 'yyyy-mm-dd hh:mm:ss' format, example: '2015-12-31 22:59:30'.
-3010 The maximum length of 'acquirer_mpi_xid' parameter is 50 characters and in base64 encoded format.
-3011 The maximum length of 'acquirer_mpi_cavv' parameter is 28 characters and in base64 encoded format.
-3012 The 'acquirer_mpi_cavv_alg' parameter should be in a single integer digit value.
-3013 The 'acquirer_mpi_eci' parameter should be in a single integer digit value.
-3014 The 'response_status' parameter can only have these following values: 'A', 'S', or 'F', which respectively meaning: 'Authorized', 'Sale', or 'Failed'.
-3015 Internal system error, failed to store response message to database.
-4001 Failed to generate token.
-4002 Error in checking or processing merchant feature.
-7992 Payment channel cannot be found.
-7993 Payment authentication is attempted but card is not enrolled for 3D-Secure transaction.
-7994 Unrecognized payment authentication status.
-7995 Payment authentication is 'Undefined', where it must be authenticated to continue with payment.
-7996 3D-Secure enrollment process is failed for this following reason: [string].
-7997 Payment authentication is failed.
-7998 Invalid MPI response format.
-7999 Failed to communicate with MPI module.
-9993 Unexpected error.
-9994 Unexpected error.
-9995 Card data is not found in security vault.
-9996 Session lock is lost.
-9997 Internal system error.
-9998 Internal system error.
-9999 The same transaction ID has already been processed before, please redo the transaction ID generation.