# 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 Key | Type | Always Present | Description |
| :---- | :---- | :---- | :---- |
| `RESULT` | String | Yes | Transaction outcome. Values: `"AUTORIZADA"` (approved) or `"DENEGADA"` (denied). |
| `RESPCODE` | int | Yes | Response code for the operation. On a declined operation it carries the denial code. Pass an explicit default to `getIntExtra()`. |
| `ERROR_MSG` | String | Conditional | Human-readable error or denial reason. Present when transaction is denied or encounters an error. |
| `AUTORIZATION_NUMBER` | String | Conditional | Authorization code assigned by the bank. Only present for approved transactions. Note the spelling (missing 'H'). |
| `IDENTIFIER_RTS` | String | Yes | Unique transaction identifier assigned by the Get Smart system. |
| `ORDER` | String | Yes | Order number associated with the operation. Required for refund operations as `original_order` parameter. |
| `CARDBRAND` | String | Conditional | Brand of the card used for payment. See [Card Brands](#card-brands). Present for approved transactions. |

<Callout type="warning">

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

</Callout>

## Response Values

### Result Values

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

| Value | Meaning | Description |
| :---- | :---- | :---- |
| `"AUTORIZADA"` | Authorized | The payment was approved |
| `"DENEGADA"` | Denied | The 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.

| Value | Card 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.

## Related Resources

* [Handle Transaction Results](/en/get-smart/get-smart-app2app/transaction-guides/transactions/handle-transaction-results) - Complete guide on processing transaction responses
* [Request Parameters](https://docs.globalgetnet.com/en/products/local-processor-spain/get-smart-app2app?doc=getsmart-app2app-request-reference) - Request parameter reference
* [Refund a Payment](/en/get-smart/get-smart-app2app/transaction-guides/transactions/refund-a-payment) - Using ORDER for refunds