Getnet DocsGetnet Docs

Response Parameters

This reference documents all parameters returned by the Get Smart application after a transaction attempt. When the payment activity finishes, it returns an Intent to your application’s onActivityResult method with transaction details stored as extras.

Accessing Response Data

Response parameters are retrieved from the Intent using getStringExtra() or getIntExtra() methods with the parameter keys listed below. All keys are case-sensitive and must match exactly.

Common Response Parameters

The following parameters are returned for all transaction types. These fields provide essential information about the transaction outcome, authorization details, and payment method used.

Parameter KeyTypeAlways PresentDescription
RESULTStringYesTransaction outcome. Values: "AUTORIZADA" (approved) or "DENEGADA" (denied).
RESPCODEintYesResponse code for the operation. On a declined operation it carries the denial code. Pass an explicit default to getIntExtra().
ERROR_MSGStringConditionalHuman-readable error or denial reason. Present when transaction is denied or encounters an error.
AUTORIZATION_NUMBERStringConditionalAuthorization code assigned by the bank. Only present for approved transactions. Note the spelling (missing ‘H’).
IDENTIFIER_RTSStringYesUnique transaction identifier assigned by the Get Smart system.
ORDERStringYesOrder number associated with the operation. Required for refund operations as original_order parameter.
CARDBRANDStringConditionalBrand of the card used for payment. See Card Brands. Present for approved transactions.

The authorization number key is spelled "AUTORIZATION_NUMBER" (missing the ‘H’). You must use this exact string as the key to retrieve the value.

Response Values

Result Values

The RESULT parameter indicates the final transaction outcome. Always check this value first to determine if the transaction was successful.

ValueMeaningDescription
"AUTORIZADA"AuthorizedThe payment was approved
"DENEGADA"DeniedThe payment was rejected or failed

Card Brands

The CARDBRAND parameter returns the network of the card used for payment. This information is useful for receipts, analytics, and tracking payment method preferences.

ValueCard Network
"VISA"Visa
"MASTERCARD"Mastercard
"DINERS"Diners Club
"AMEX"American Express
"JCB"JCB
"CUP"China UnionPay

Reading RESPCODE

RESPCODE carries the response code for the operation. On a declined operation it carries the denial code obtained from the host. The manual does not enumerate the values — ask Getnet support for the code list that applies to your merchant configuration.