Skip to main content

Browser-Redirection-Response

This is the response which is posted to merchant return url via form post

V1 API Browser Redirection Response

Field NameData TypeDescription
ppc_MerchantIDIntegerMerchant ID sent as one of the parameters in the Pine Labs payment gateway API request.
ppc_MerchantAccessCodeStringMerchant access code sent as one of the parameters in the Pine Labs payment gateway API request.
ppc_PinePGTxnStatusIntegerTransaction status.
ppc_TransactionCompletionDateTimeDateTimeDate and time of the transaction completion at the Pine Labs payment gateway server.
ppc_AmountLongAmount for which the payment transaction is being done.
ppc_TxnResponseCodeIntegerResponse of the API request. Response code returned based on the transaction result.
ppc_TxnResponseMessageStringTransaction response message.
ppc_AcquirerNameStringAcquirer Bank.
ppc_PinePGTransactionIDLongUnique transaction ID generated by Pine Labs.
ppc_PaymentModeIntegerPayment mode chosen at landing page.
ppc_DIA_SECRETStringHash of response parameters. Pine Labs payment gateway creates the hash of the response parameters and sends this information in response in tag dia_secret. Merchant should use this hash value returned in response to match with the new secret generated at its side using other response parameters. If these two secrets do not match then data is not authentic.
ppc_DIA_SECRET_TYPEString'SHA256' or 'MD5' and will be the same which is passed in dia_secret_type parameter of request.
ppc_Is_BankEMITransactionBoolFlag to indicate Bank EMI transaction.
ppc_Is_BrandEMITransactionBoolFlag to indicate Brand EMI transaction.
ppc_EMITenureMonthIntegerTenure month of EMI transaction.
ppc_EMIPrincipalAmountLongPrincipal EMI amount in Paise.
ppc_EMIAmountPayableEachMonthLongMonthly Installment.
ppc_EMIInterestRatePercentIntegerInterest rate charged by bank multiplied by 10000.
ppc_EMICashBackTypeIntegerValues: 0, 1, 2, and 3 - 0: Standard EMI, 1: Pre cash back, 2: Post cash back, 3: Instant Cashback.
ppc_EMITotalDiscCashBackAmtLongTotal discount or cashback amount applicable in EMI transaction in paise.
ppc_EMITotalDiscCashBackPercentIntegerTotal discount or cashback percent applicable in EMI transaction multiplied by 10000.
ppc_EMIMerchantDiscCashBackPercentIntegerMerchant discount or cashback percent applicable in EMI transaction multiplied by 10000.
ppc_EMIMerchantCashBackFixedAmtLongMerchant fixed discount or cashback amount applicable in EMI transaction in paise.
ppc_EMIIssuerDiscCashBackPercentIntegerIssuer discount or cashback percent applicable in EMI transaction multiplied by 10000.
ppc_EMIIssuerDiscCashBackFixedAmtLongIssuer fixed discount or cashback amount applicable in EMI transaction in paise.
ppc_EMIAdditionalCashBackStringAdditional Cashback in case of EMI Transaction.
ppc_TxnAdditionalInfoStringBase64 encoded string.
ppc_MerchantReturnURLStringMerchant return URL.
ppc_EMIProcessingFeeLongProcessing fee amount in paise.
ppc_ManufacturerStringManufacturer name in case of brand EMI transaction.
ppc_ProductCategoryStringProduct category in case of brand EMI transaction.
ppc_ProductDescriptionStringProduct description in case of brand EMI transaction.
ppc_ProductInstantDiscountLongProduct discount in case of brand EMI transaction. It is the flat discount given on the product.
ppc_CapturedAmountLongCaptured amount for a transaction.
ppc_RefundedAmountLongRefund amount for a transaction.
ppc_Parent_TxnStatusIntegerParent txn status.
ppc_ParentTxnResponseCodeIntegerParent txn response code.
ppc_ParentTxnResponseMessageStringParent txn response message.
ppc_IssuerNameStringIssuing bank name.
ppc_UdfField1StringUdf field1 which comes in payment initiation request.
ppc_UdfField2StringUdf field2 which comes in payment initiation request.
ppc_UdfField3StringUdf field3 which comes in payment initiation request.
ppc_UdfField4StringUdf field4 which comes in payment initiation request.
ppc_CardHolderNameStringCardholder name in case of card transaction.
ppc_SaltedCardHashStringSalted card hash in case of card transaction.
ppc_MaskedCardNumberStringMasked Card number in case of card transaction.
ppc_AuthCodeStringAuth code received from acquirer in authorization response.
ppc_RRNStringRRN number received from acquirer in authorization response.
ppc_AcquirerResponseCodeStringAcquirer response code received from acquirer in authorization response.
ppc_AcquirerResponseMessageStringAcquirer response message received from acquirer in authorization response.
ppc_SurchargeTxnint1 value will be come if the transaction is convenience fee else 0.
ppc_ConvenienceFeesInPaiselongTotal convenience fees applied on the transaction.
ppc_ConvenienceGSTInPaiselongTotal convenience fees GST applied on the transaction.
ppc_AdditionalChargesInPaiselongTotal convenience fees additional fees applied on the transaction.
ppc_AuthIdStringAuth id received in authorization response.

V2 API Browser Redirection Response

Field NameData TypeDescription
merchant_idIntegerMerchant ID sent as one of the parameters in Pine Labs payment gateway API request.
merchant_access_codeStringMerchant access code sent as one of the parameters in the Pine Labs payment gateway API request.
pine_pg_txn_statusIntegerTransaction status.
txn_completion_date_timeDateTimeDate and time of the transaction completion at the Pine Labs payment gateway server.
amount_in_paisaLongAmount for which the payment transaction is being done.
txn_response_codeIntegerResponse of the API request. Response code returned based on the transaction result.
txn_response_msgStringTransaction response message.
acquirer_nameStringAcquirer Bank.
pine_pg_transaction_idLongUnique transaction ID generated by Pine Labs.
payment_modeIntegerPayment mode chosen at landing page.
dia_secretStringHash of response parameters. Pine Labs payment gateway creates the hash of the response parameters and sends this information in response in tag dia_secret. Merchant should use this hash value returned in response to match with the new secret generated at its side using other response parameters. If these two secrets do not match then data is not authentic.
dia_secret_typeString'SHA256' or 'MD5' and will be the same which is passed in dia_secret_type parameter of request.
is_bank_emi_txnBoolFlag to indicate Bank EMI transaction.
is_brand_emi_txnBoolFlag to indicate Brand EMI transaction.
emi_tenure_monthIntegerTenure month of EMI transaction.
emi_principal_amount_in_paisaLongPrincipal EMI amount in Paise.
emi_amount_payable_each_month_in_paisaLongMonthly Installment.
emi_interest_rate_percentIntegerInterest rate charged by bank multiplied by 10000.
emi_cashback_typeIntegerValues: 0, 1, 2, and 3 - 0: Standard EMI, 1: Pre cash back, 2: Post cash back, 3: Instant Cashback.
emi_total_discount_cashabck_amount_in_paisaLongTotal discount or cashback amount applicable in EMI transaction in paise.
emi_total_discount_cashback_percentIntegerTotal discount or cashback percent applicable in EMI transaction multiplied by 10000.
emi_merchant_discount_cashabck_perecentIntegerMerchant discount or cashback percent applicable in EMI transaction multiplied by 10000.
emi_merchant_discount_cashback_fixed_amount_in_paisaLongMerchant fixed discount or cashback amount applicable in EMI transaction in paise.
emi_issuer_discount_cashabck_perecentIntegerIssuer discount or cashback percent applicable in EMI transaction multiplied by 10000.
emi_issuer_discount_cashback_fixed_amount_in_paisaLongIssuer fixed discount or cashback amount applicable in EMI transaction in paise.
emi_additional_cashbackStringAdditional Cashback in case of EMI Transaction.
txn_additional_infoStringBase64 encoded string.
merchant_return_urlStringMerchant return URL.
emi_processing_feeLongProcessing fee amount in paise.
manufacturerStringManufacturer name in case of brand EMI transaction.
product_categoryStringProduct category in case of brand EMI transaction.
product_descriptioStringProduct description in case of brand EMI transaction.
product_discountLongProduct discount in case of brand EMI transaction. It is the flat discount given on the product.
captured_amount_in_paisaLongCaptured amount for a transaction.
refund_amount_in_paisaLongRefund amount for a transaction.
parent_txn_statusIntegerParent txn status.
parent_txn_response_codeIntegerParent txn response code.
parent_txn_response_messageStringParent txn response message.
issuer_nameStringIssuing bank name.
udf_field_1StringUdf field1 which comes in payment initiation request.
udf_field_2StringUdf field2 which comes in payment initiation request.
udf_field_3StringUdf field3 which comes in payment initiation request.
udf_field_4StringUdf field4 which comes in payment initiation request.
card_holder_nameStringCardholder name in case of card transaction.
salted_card_hashStringSalted card hash in case of card transaction.
masked_card_numberStringMasked Card number in case of card transaction.
auth_codeStringAuth code received from acquirer in authorization response.
rrnStringRRN number received from acquirer in authorization response.
Acquirer_Response_CodeStringAcquirer response code received from acquirer in authorization response.
Acquirer_Response_MessageStringAcquirer response message received from acquirer in authorization response.
is_surcharge_txnint1 value will be come if the transaction is convenience fee else 0.
convenience_fees_in_paiselongTotal convenience fees applied on the transaction.
convenience_gst_in_paiselongTotal convenience fees GST applied on the transaction.
convenience_additional_charges_in_paiselongTotal convenience fees additional fees applied on the transaction.
auth_idStringAuth id received in authorization response.