Getnet DocsGetnet Docs

Response and Error Codes

The Get Mini Android SDK uses a structured error system to distinguish between successful operations, user cancellations, technical failures, and financial denials. Understanding these response codes and error categories helps you implement appropriate error handling and provide clear feedback to users.

RepositoryResult Response Types

All SDK operations return results wrapped in the RepositoryResult sealed class. The result type indicates the high-level outcome of the operation.

Result TypeDescriptionWhen It Occurs
RepositoryResult.SuccessOperation completed successfully with result dataTransaction approved, initialization succeeded, device connected
RepositoryResult.ErrorOperation failed due to technical error or validation failureNetwork error, PIN pad disconnected, invalid parameters, communication timeout
RepositoryResult.CancelledUser cancelled the operationCustomer pressed cancel on PIN pad, user navigated away from payment screen

Check the result type first before accessing data or error messages to ensure proper type safety in your implementation.

PaymentResult Types

For payment operations specifically, successful results (RepositoryResult.Success) contain a PaymentResult that indicates the transaction outcome.

Payment ResultDescriptionNext Steps
PaymentResult.AcceptedTransaction authorized and approved by payment hostSave authorization code and operation ID, provide receipt to customer
PaymentResult.DeniedTransaction declined by payment host or issuerDisplay decline reason to customer, offer alternative payment method

Payment denials are considered “successful” SDK operations (the communication succeeded) but represent business-level rejections from the payment network.

Authorization Response Codes

When a transaction is denied (PaymentResult.Denied), the responseCode field contains a code from the payment authorization host indicating the specific reason for denial.

Success Codes

Code RangeMeaningDescription
0000-0099ApprovedTransaction successfully authorized. Proceed with fulfillment.

Card Issues

CodeMeaningRecommended Action
0101Card ExpiredRequest alternative payment method. Card expiration date has passed.
0102Card BlockedAdvise customer to contact their card issuer. Card is temporarily or permanently blocked.
0106Incorrect PIN AttemptsCard locked due to multiple incorrect PIN entries. Customer must contact issuer.
0202Card RestrictedCard has restrictions preventing this transaction type. Request different card.

Insufficient Funds

CodeMeaningRecommended Action
0180Insufficient FundsNot enough available balance or credit. Request alternative payment method.
0184Card Limit ExceededTransaction amount exceeds card’s transaction limit. Try lower amount or different card.

Transaction Issues

CodeMeaningRecommended Action
0190General DenialIssuer declined without specific reason. Request alternative payment method.
0912Issuer UnavailableCannot reach card issuer’s authorization system. Retry after delay or use different card.
9102Invalid TransactionTransaction parameters invalid or not supported. Verify amount and configuration.

Authentication Errors

CodeMeaningRecommended Action
0184PIN ErrorIncorrect PIN entered. Allow customer to retry PIN entry.
0191Authentication FailedTransaction authentication failed. Request alternative payment method.

Response codes may vary depending on your payment processor and acquirer configuration. Consult with Get Mini support for processor-specific code mappings relevant to your merchant account.

SDK Technical Error Messages

CodeIdentifierCauseDescription / Resolution
1004noInternetConnectionNo internet connectivityVerify the device has an active internet connection.
1005unrealizedOperationOperation not realizedGeneral failure indicating the operation did not complete.
1006transactionDeniedInPinPadOffline EMV denialThe transaction was denied offline by the card chip.
1007signatureTooBigSignature image too largeThe captured signature image exceeds the 4999-byte limit for host upload.
1008genericErrorGeneric errorGeneral failure; check request data and logs.
1009communicationWithPinPadFailedPIN pad connection lostThe Bluetooth connection with the Get Mini PIN pad was lost or interrupted.
1010communicationWithWebServiceFailedWeb service connectivityFailure communicating with the payment host or processing servers.
1011malformedPinPadResponseInvalid PIN pad responseThe response received from the PIN pad is technically malformed.
1012malformedPinPadConfirmationInvalid confirmationThe confirmation message from the PIN pad is malformed.
1013unInitializedPinPadPIN pad not initializedCall inicializarPinpad() before processing any transactions.
1014incorrectSignatureValidationIntegrity check failureValidation of the host response integrity failed.
1015invalidSelectionDccCurrencyDCC currency errorThe currency selection for Dynamic Currency Conversion is invalid.
1016unInitializedPinpadByFailedUpdateFailed parameter loadParameters could not be loaded during PIN pad initialization.
1017unInitializedPinpadByFailedTDESFailed TDES loadSecurity keys (TDES) could not be loaded during initialization.
1018pinpadInitializationNotFinishedPartial initializationThe PIN pad initialization process did not reach completion.
1019pinpadWithOutKeysMissing symmetric keysThe terminal is not operative because it lacks internal symmetric keys.
1020invalidPUPVersionProtocol version mismatchThe PIN pad’s protocol version is incompatible with this SDK version.
1021serverResponseWithErrorServer error responseThe payment server returned a structured error; check request data.
1022invalidTerminalForOperationInvalid terminal statusThe terminal selected is not valid for the requested operation.
1023terminalWithoutPermissionPermission deniedThe merchant account/terminal lacks permission for this feature.
1024creditCardNotValidInvalid card readThe card presented is not valid or cannot be processed.
1025misApplicationApplication errorIncorrect application selected during card reading.
1026misCodeDeferPaymentInvalid installment codeThe selected installment (Cuotas) code is not valid.
117pinIncorrectoIncorrect PINThe customer entered an incorrect PIN during online authorization.
195repetirLecturaRepeat card readInstruct the user to repeat the card reading process (Chip or Double Tap).
196pinTitularPIN requiredRequest PIN from the cardholder (1 Tap).
1055noManualEntryEnabledManual entry disabledMerchant is not configured to allow manual card entry.
1057operationNotFoundOperation not foundCannot perform an action on a non-existent or failed transaction.

Always log error messages for debugging and support purposes while displaying user-friendly alternatives to customers.

PIN pad-Specific Errors

Additional errors specific to Bluetooth PIN pad operations and peripheral management.

Error TypeDescriptionResolution
Pairing FailedCannot establish Bluetooth connection with PIN padVerify PIN pad is in pairing mode, check device Bluetooth is enabled, retry pairing process
Battery CriticalPIN pad battery too low for transactionCharge PIN pad device before attempting transactions
Firmware IncompatiblePIN pad firmware version incompatible with SDKUpdate PIN pad firmware through Get Mini support tools
Device BusyPIN pad currently processing another operationWait for current operation to complete before initiating new transaction

Offline Denial Codes

Additional errors specific to Bluetooth PIN pad operations and peripheral management.

EMV Offline Denials (Section 5.1)

When a transaction is denied locally by the card chip without going online, the following codes may be returned:

CodeTechnical IdentifierDescription
0DENEGADA_OFF_IMPORTE_OImporte menor o igual a cero.
-1DENEGADA_OFF_PAIS_O_MONEDA_EXTRANJEROForeign currency/country not allowed offline.
-2DENEGADA_OFF_BLOQUE_PINCard blocked due to PIN attempts.
-3DENEGADA_OFF_LIMITE_IMPORTE_SUPERADOTransaction amount exceeds offline limit.
-4DENEGADA_OFF_LIMITE_OPERACIONES_SUPERADONumber of offline transactions exceeded.
-5DENEGADA_OFF_OPERACION_BANDA_NO_PERMITIDAMagstripe (MSR) not allowed offline.
-6DENEGADA_OFF_ENTRADA_MANUAL_NO_PERMITIDAManual entry not allowed offline.
-7DENEGADA_OFF_TARJETA_CADUCADACard is expired.
-8DENEGADA_APLICACION_NO_PERMITIDAAID not in whitelist.
-9DENEGADA_OPERACION_NO_PERMITIDAUnrecognized reading type.
-10DENEGADA_9F27Transaction type 9F27 denied by card.
-11DENEGADA_TARJETA_PRIVADAPrivate/non-financial card not allowed.
-12DENEGADA_OPERACION_MOVIL_NO_AUTENTICADAMobile payment lacks authentication.
-14DENEGADA_OFF_LIMITE_IMPORTE_ACUMULADOAccumulated offline amount limit exceeded.
-16DENEGADA_PIN_OFF_EXCEDIDOOffline PIN attempts exceeded.

Error Handling Best Practices

When processing errors, consider the error category to provide appropriate user experience and resolution paths:

Technical Errors (RepositoryResult.Error): Log detailed error information for debugging. Display generic user-friendly messages to customers without exposing technical details. Offer retry options for transient failures like network issues.

Payment Denials (PaymentResult.Denied): Display the decline reason from the authorization response. Guide customers to alternative payment methods. Never retry declined transactions automatically without customer action.

User Cancellations (RepositoryResult.Cancelled): Handle gracefully without error messages. Allow customers to retry or choose alternative actions. Log cancellations for business analytics without treating as failures.