CCAvenue Response CodesNameDescriptionType (length)

order_idUnique ID sent by the merchant at the time of initiating the transaction.Alphanumeric (30)

tracking_idUnique payment reference number generated by CCAvenue for each order.Numeric (12)

bank_ref_noReference number generated by the bank for the transaction.Alphanumeric

order_statusStatus of the transaction.Alphabets (15)

Success

Failure

Aborted

Invalid

failure_messageReason for failure.Alphanumeric

payment_modeMode of payment used by the customerAlphabets

Credit Card

Net banking

Debit Card

Cash Card

Mobile Payment

card_nameThe name of the card/bank used by the customer to make the payment. Credit Card - Visa, Mastercard, Amex Netbanking - ICICI, HDFC, SBI etc.Alphanumeric

status_codeAuthorization code received from the bank.Numeric (3)

status_messageAuthorization status message received from the bank.Alphanumeric (150)

currencyCurrency code in which the transaction was processed.Alphabets (3)

INR - Indian Rupee

USD - United States Dollar

SGD - Singapore Dollar

GBP - Pound Sterling

EUR - Euro, official currency of Eurozone

amountOrder amountNumeric (12, 2)

billing_ nameName of the customerAlphabets (60)

billing_ addressCustomer's billing addressAlphanumeric (150)

billing_ cityCustomer's billing cityAlphabets (30)

billing_ stateCustomer's billing stateAlphabets (30)

billing_ zipCustomer's billing zip codeAlphanumeric (15)

billing_ countryCustomer's billing countryAlphabets (50)

billing_ telCustomer's phone numberNumeric (20)

billing_ emailCustomer's email addressAlphanumeric (70)

delivery_ nameRecipient's nameAlphabets (60)

delivery_ addressShipping addressAlphanumeric (150)

delivery_ cityShipping cityAlphabets (30)

delivery_ stateShipping stateAlphabets (30)

delivery_ zipShipping zip codeAlphanumeric (15)

delivery_ countryShipping countryAlphabets (50)

delivery_ telShipping phone numberNumeric (22)

merchant_param1Additional information about the transaction sent by the merchant.Alphanumeric (100)

merchant_param2Additional information about the transaction sent by the merchant.Alphanumeric (100)

merchant_param3Additional information about the transaction sent by the merchant.Alphanumeric (100)

merchant_param4Additional information about the transaction sent by the merchant.Alphanumeric (100)

merchant_param5Additional information about the transaction sent by the merchant.Alphanumeric (100)

vaultThis parameter can be used if merchant availing the vault option. On using vault functionality if card details are saved at CCAvenue end value returned will be Y. If card details are not saved at CCAvenue end the value returned for this parameter will be N.Character (1)

offer_typeThis parameter can be used for sending additional information if customer has used any discount or promotion while completing the transaction. If customer is using discount-coupon, value of this parameter would be discount. If customer is using promo-code, value of this parameter would be promotion.Alphabets (9)

offer_codeThis parameter can be used for sending additional information about the discount coupon and Promo code used while completing the transaction. If customer has used Discount the value sent would be Discount code. If customer has used Promotion the value sent would be Promo code.Alphanumeric (30)

discount_valueThis parameter can be used for sending additional information about the discounted amount.Numeric (12,2)

retryThis denotes whether the transaction is a retry transaction or not.Character (1)

Value:

Y - Retry Transaction

N - Not a Retry Transaction

Note: A transaction done for the first time would be marked as 'N', whereas the subsequent valid retry attempts would be marked as 'Y'.

response_codeThis is the code assigned to each type of response received from the bank.Numeric (5)


Aravind Appadurai

Aravin