Getnet DocsGetnet Docs

Single-Step Payment

This guide explains how to execute a single-step payment using an Integrated POS. A single-step payment completes authorization and capture in one operation via the Sale function.

What is a single-step payment

A single-step payment is a sale that authorizes and captures the transaction in a single request. The automation system sends a Sale request with the desired parameters; the POS runs the payment flow and returns a structured response. The same behaviour applies across USB (CreateUsb), Network (CreateHttp), and Cloud (CreateCloud).

Before you begin

Before performing a payment, ensure that:

  • A Connector has been created using a supported connection model
  • The terminal has been validated using Polling
  • Integrated POS Mode is active

Step 1: Build and execute the sale request

Single-step payments use the Sale operation. If a parameter is not provided, the POS displays the corresponding input screen.

ParameterTypeRequiredDescription
AmountLongNoValue in local currency (e.g. 10000 = 100.00). If omitted, the POS requests the amount.
SaleTypeEnumNoPayment type: Card or QrCode. If omitted, the POS requests the payment type.
PrintOnPosBoolNoIf true, receipt is printed on the POS; if false, receipt content is returned in the response.
EmployeeIdIntNoWaiter or operator identification.
TipLongNoTip amount added to the transaction total.
InstallmentsIntNoNumber of installments.
SkipReceiptBoolNoIf true, skips the customer receipt screen after the transaction.
SkipConfirmationBoolNoIf true, skips the screen that displays amount and installment details for confirmation.
PlanIdStringNoInstallment plan (e.g. Argentina). See Installment Plans and Plan Ids.
InterestEnumNoWhether the plan includes interest: OnPosSelection, Interest, or NoInterest.
OperationModeEnumNoWho calculates the final amount: CalculatedGetnet (the terminal calculates) or CalculatedISV (your application calculates and sends the final amount).
CallerIdStringNoID generated by the automation system, required to later query the transaction with Check Status. No special or Unicode characters.

Here is an example of a single-step payment request:

var saleRequest = new SaleRequest
{
    Amount = 10000,
    SaleType = SaleType.Card
};

var saleResult = connector.SaleAsync(saleRequest);

During execution, the POS handles all required customer interaction (card read, PIN, confirmation, etc.).

Step 2: Handle the response

A successful response includes at least the fields below. Always verify Code (e.g. 0 = success) before proceeding.

FieldTypeDescription
CodeIntResponse code (see annexes). 0 = success.
MessageStringOperation result (e.g. "APPROVED").
CommerceCodeStringBranch code approved by Getnet.
TerminalIdStringPOS terminal code.
AuthorizationCodeStringTransaction authorization code.
AmountLongTransaction amount in local currency.
OriginalAmountLongOriginal transaction amount in local currency.
OperationModeEnumSelected operation mode. One of CalculatedGetnet or CalculatedISV.
Last4DigitsStringLast four digits of the card.
CardBrandStringCard brand used in the transaction (e.g. "Mastercard").
CardTypeStringType of card (e.g. "Credit").
AccountingDateStringTransaction date/time (GMT).
RealDateDateTransaction date/time (local).
SaleTypeEnumPayment type (e.g. "Card").
ReceiptContentDictReceipt lines when PrintOnPos is false.
PlanId, Interest, Installments—Present when installments were used.
CallerIdStringID generated by the automation system.
CardBinStringFirst eight digits of the customer’s card (max 8).

This is an example of a successful response:

{
  "Code": 0,
  "Message": "APPROVED",
  "CommerceCode": "0000081561",
  "TerminalId": "AR001P0B",
  "AuthorizationCode": "551437",
  "Amount": 10000,
  "OriginalAmount": 10000,
  "OperationMode": "CalculatedGetnet",
  "Last4Digits": "7167",
  "CardBrand": "master",
  "CardType": null,
  "AccountingDate": "2025-08-25T16:11:23.0000000+00:00",
  "RealDate": "2025-08-25T13:11:50.8570000-03:00",
  "SaleType": "Card",
  "ReceiptContent": null,
  "PlanId": "contado",
  "Interest": null,
  "Installments": 1,
  "CallerId": "123456-789000",
  "CardBin": "84168075"
}

Next steps