Getnet DocsGetnet Docs

Deeplink Parameters Reference

This page provides a consolidated catalog of all App2App deeplink URIs and their request and response parameters. Communication with the Getnet Payment App is performed via Android Intents using specific URIs. All parameters are passed as Extras in the Intent.

The Getnet Payment App exposes the following deeplinks:

URIFunction
getnet://payment/v1/paymentStart a sales transaction.
getnet://payment/v1/commerce-dataReturn merchant registration data.
getnet://payment/v1/refundInitiate a refund.
getnet://payment/v1/pollingCheck whether the Payment App can handle deeplinks.
getnet://payment/v1/get-infoReturn terminal information.
getnet://payment/v1/last-transactionReturn or reprint the last receipt.
getnet://payment/v1/reportsReturn reports.
getnet://payment/v1/cancel-operationCancel a deeplink operation currently in progress.
getnet://payment/v1/shiftManage shifts.
getnet://payment/v1/pre-authInitiate a pre-authorization.
getnet://payment/v1/transaction-check-statusSearch for the status of a specific previous transaction.

getnet://payment/v1/last-transaction is the production URI for reprinting or returning the last receipt. getnet://payment/v1/reprint is not an App2App deeplink in the payment scheme — do not use it. Samples that show it likely came from the BR scheme getnet://pagamento/v1/reprint, which is a different context.

Payment

URI: getnet://payment/v1/payment

Initiates a new payment transaction. The paymentMethod parameter selects Card or QR Code.

Request parameters

ParameterTypeRequiredDescription
amountStringYesTransaction total in cents, with two implicit decimals. Integer of up to 9 digits; leading zeros are tolerated but not required (e.g., "1234" = $12.34; "10000" = $100.00).
originalAmountStringNoValue in local currency to perform the transaction.
receiptCodeStringYesID printed on the receipt for merchant tracking.
callerIdStringNoUnique identifier to correlate request and response.
tipStringNoTip amount added to the transaction total. Same decimal format as amount.
waiterCodeStringConditionalWaiter code for tip attribution. Required if a tip is provided.
paymentMethodStringNo"1": Card, "2": QR Code. If omitted, the terminal shows the selection screen.
installmentsIntegerNoNumber of installments (credit card only).
planIdStringNoInstallment plan ID. See Installment Rules.
interestBooleanNoWhether the plan includes interest (true) or is interest-free (false).
operationModeStringNo"0": Manual, "1": Calculated. See Interest Calculation Strategy.
skipReceiptBooleanNo"true" bypasses the customer receipt screen. Default "false".
skipConfirmationBooleanNo"true" bypasses the amount/installment confirmation screen. Default "false".
allowPrintCurrentTransactionStringNo"false" returns receipt data as automationSlip. See Printing Responsibility.

Response parameters

ParameterTypeDescription
resultStringTransaction result. See Result Codes.
resultDetailsStringDetailed message of the transaction result.
amountStringTransaction amount in local currency.
originalAmountStringValue in local currency to perform the transaction.
tipStringTip amount for the sale.
waiterCodeStringWaiter code for tip attribution.
receiptCodeStringIdentification printed on receipt.
callerIdStringCorrelates with the deeplink request.
nsuStringGetnet transaction authorization code, unique per terminal per day.
nsuLastSuccesfullMessageStringLast Getnet NSU successfully generated.
paymentTypeStringPayment type (credit, debit, voucher, etc.).
brandStringCard brand.
inputTypeString021: magnetic stripe, 051: chip, 071: contactless chip, 801: magnetic stripe fallback.
installmentsStringNumber of installments.
planIdStringInstallment plan selected.
interestStringWhether interest was selected (true/false).
gmtDateTimeStringGMT date and time (MMDDhhmmss, UTC 0).
authorizationCodeStringTransaction authorization code.
cardBinStringFirst 8 digits of the card.
cardLastDigitsStringLast 4 digits of the card.
sellerCodeStringBranch code approved by Getnet.
terminalCodeStringPOS terminal code.
paymentMethodString"1": Card, "2": QR Code.
automationSlipStringJSON receipt data. See Printing Responsibility.

Refund

URI: getnet://payment/v1/refund

Reverses a previously approved transaction. Partial refunds are supported when the amount is less than the original.

Request parameters

ParameterTypeRequiredDescription
authorizationCodeStringYesOriginal transaction code found as “AUT” on the receipt.
transactionDateStringYesDate of the original transaction in dd/MM/yyyy format.
amountStringYesValue to be reversed. If less than the original, a partial refund is performed.
refundTypeStringNo"1": Sale withdrawal, "2": Sale, "3": Withdrawal.
skipConfirmationStringNoSkips the amount/installment confirmation screen.
skipReceiptStringNoDefines whether the client receipt is printed.
allowPrintCurrentTransactionStringNo"false" returns receipt data as automationSlip.

Response parameters

ParameterTypeDescription
resultStringTransaction result. See Result Codes.
resultDetailsStringDetailed message of the transaction result.
authorizationCodeStringTransaction authorization code.
commerceCodeStringUnique merchant code approved by Getnet.
amountStringValue reversed in local currency.
gmtDateTimeStringGMT date and time (MMDDhhmmss, UTC 0).
callerIdStringCorrelates with the deeplink request.
nsuLastSuccesfullMessageStringLast Getnet NSU successfully generated.
refundTransactionDateStringDate of the refund.
refundOriginTerminalStringTerminal identifier of the refund origin.
automationSlipStringJSON receipt data.

Pre-authorization

URI: getnet://payment/v1/pre-auth

Reserves funds on a credit card for a future capture. The operation parameter selects the lifecycle action. See Create a Pre-authorized Payment.

Request parameters

ParameterTypeRequiredDescription
operationStringYes"0": create, "1": modify, "2": remove, "3": confirm, "4": retrieve.
reservation_idStringConditionalIdentifies the pre-authorization. Required to modify, remove, or confirm. Matches authorizationRefCode from the create response.
amountStringNoValue in local currency to reserve.
originalAmountStringNoValue in local currency to perform the transaction.
dateStringNoTransaction date in dd/MM/yyyy format.
installmentsStringNoNumber of installments (credit card only).
plan_idStringNoInstallment plan ID. See Installment Rules.
interestStringNoWhether the plan includes interest (true/false).
operationModeStringNo"0": Manual, "1": Calculated.
skipConfirmationStringNoSkips the confirmation screen.
skipReceiptStringNoSkips the customer receipt screen.
callerIdStringNoCorrelates with the deeplink request.
allowPrintCurrentTransactionStringNo"false" returns receipt data as automationSlip.
filterReservationId, filterInitialDate, filterFinalDate, filterAuthorizationCode, filterCardLastDigits, filterAllowedBrandsStringNoFilters for pending pre-authorizations. Send only when operation is "4" (retrieve).

Response parameters

Key fields: result, resultDetails, amount, originalAmount, authorizationRefCode (pre-authorization identifier), authorizationCode, nsu, nsuLastSuccesfullMessage, brand, inputType, cardBin (8 digits), cardLastDigits, paymentType, sellerCode, terminalCode, receiptCode, callerId, gmtDateTime, automationSlip, and pendingAuthorizations (populated only for the retrieve operation).

Polling

URI: getnet://payment/v1/polling

Verifies that the Payment App is ready to receive commands. No request parameters.

Response parameters

ParameterTypeDescription
resultString"0" indicates the terminal is ready.
resultDetailsStringDetailed message about the terminal status.

Reprint (last transaction)

URI: getnet://payment/v1/last-transaction

Reprints or returns the last receipt.

Request parameters

ParameterTypeRequiredDescription
allowPrintCurrentTransactionStringNo"false" returns receipt data as automationSlip instead of printing.
skipReceiptStringNo"true" skips the client receipt. Rejected if allowPrintCurrentTransaction is "false".

Response parameters

ParameterTypeDescription
resultStringTransaction result.
resultDetailsStringDetailed message of the result.
automationSlipStringJSON receipt data. Empty when allowPrintCurrentTransaction is "true".

Reports

URI: getnet://payment/v1/reports

Retrieves a detailed sales list or a totals summary for the current batch.

Request parameters

ParameterTypeRequiredDescription
reportTypeStringYes"0": Detailed sales, "1": Total of sales.
allowPrintCurrentTransactionStringNo"true" prints the report on the terminal, "false" returns data only.

Response parameters

ParameterTypeDescription
resultStringTransaction result.
resultDetailsStringDetailed message of the result.
reportDetailsStringJSON string with the report content. See Result Codes and Data Structures.

GetInfo

URI: getnet://payment/v1/get-info

Returns technical and operational information about the terminal. No request parameters. The response includes result, resultDetails, and terminal fields detailed in Result Codes and Data Structures. For the call itself, see Get Terminal and Merchant Data.

GetCommerceData

URI: getnet://payment/v1/commerce-data

Returns merchant registration data. No request parameters. The response includes result, resultDetails, and a commerceData JSON object detailed in Result Codes and Data Structures. For the call itself, see Get Terminal and Merchant Data.

Shift

URI: getnet://payment/v1/shift

Sets up, changes, or retrieves shift information. For the three operations step by step, see Manage Operator Shifts.

Request parameters

ParameterTypeRequiredDescription
shiftOperationStringYes"1": set up available shifts, "2": change to next shift, "3": retrieve current shift amount.
numberOfShiftsStringNoNew shift amount when shiftOperation is "1".
skipConfirmationStringNoSkips the shift-change confirmation screen.
allowPrintCurrentTransactionStringNo"false" returns data instead of printing.

Response parameters

ParameterTypeDescription
resultStringTransaction result.
resultDetailsStringDetailed message of the result.
totalOfShiftsStringCurrent shift amount. Returned only when shiftOperation is "3".

Cancel operation

URI: getnet://payment/v1/cancel-operation

Cancels a deeplink operation currently in progress (Payment, Refund, or Pre-authorization). No request parameters. See Cancel an Operation in Progress.

Response parameters

ParameterTypeDescription
resultString"6" indicates the operation was successfully canceled.
resultDetailsStringDetailed message of the result.

Check status

URI: getnet://payment/v1/transaction-check-status

Searches for the status of a transaction from the last 72 hours by callerId. See Check a Transaction Status.

Request parameters

ParameterTypeRequiredDescription
callerIdStringYesID of the original transaction (max 100). No special or Unicode characters.

Response parameters

ParameterTypeDescription
resultStringTransaction status. See Result Codes and Data Structures.
resultDetailsStringMessage of the transaction result.
callerIdStringID generated by the third-party application.
authorizationCodeStringTransaction authorization code. May be null if no transaction was found.