---
title: "Get existing transaction details"
method: POST
path: "/creditguy/gateway/gettransaction/"
tags: ["Credit card terminal (Gateway)"]
---

# Get existing transaction details

`POST /creditguy/gateway/gettransaction/`

## Headers

- `Content-Language` unknown

## Request body

- CreditGuyGatewayGetTransactionRequest
  - `Credentials` CoreAPIPublicCredentials, required
    - `CompanyID` integer — Company identifier
    - `APIPublicKey` string, nullable — API public key
  - `ID` integer, nullable — Transaction ID
  - `UniqueIdentifier` string, nullable — Unique transaction identifer
  - `IncludeFirstDigits` boolean, nullable — Indicates whether to fetch the first 2/6 digits of the card number as well. Defaults to False

## Response `200`

OK

- ResponseCreditGuyGatewayGetTransactionResponse
  - `Status` 'Success (0)' | 'BusinessError (1)' | 'TechnicalError (2)'
  - `UserErrorMessage` string, nullable — Error message, in a user readable format
  - `TechnicalErrorDetails` string, nullable — Technical error details, let us know if you received this.
  - `Data` CreditGuyGatewayGetTransactionResponse
    - `Code` string, nullable — Shva result code
    - `Description` string, nullable — Shva result description
    - `MerchantNumber` string, nullable — Shva merchant number (Terminal number)
    - `AuthNumber` string, nullable — Charge authorization number
    - `Acquirer` integer, nullable — Card acquirer
    - `Brand` integer, nullable — Card brand
    - `Issuer` integer, nullable — Card issuer
    - `FileNumber` string, nullable — Shva file number
    - `CheckoutIndex` string, nullable — Shva checkout index
    - `CheckoutRecordIndex` string, nullable — Shva checkout record index
    - `ReferenceNumber` integer, nullable — Shva reference number
    - `CardToken` string, uuid, nullable — Card token
    - `CardFPToken` string, nullable — Format preserved token
    - `CardPattern` string, nullable — Card number pattern (including the last 4 digits)
    - `CardExpiration` string, date-time — Credit card expiration
    - `CitizenID` string, nullable — Israeli Citizen ID / Passport Number
    - `ResultRecord` string, nullable — Full result record received from Shva
    - `Amount` number, double — Transaction amount Leave this empty when using ParamJ = CheckDetails
    - `PaymentsNonFirstCount` integer, nullable — Non-first payments count Leave this empty for non-payments transaction
    - `PaymentsFirstAmount` number, double, nullable — First payment amount Leave this empty for non-payments transaction
    - `PaymentsNonFirstAmount` number, double, nullable — Non-first payment amount Leave this empty for non-payments transaction
    - `ResultForeignCard` boolean
    - `EMV` boolean
    - `MultiSupplierNumber` string, nullable — Supplier number when using a multi supplier terminal

---

[API](https://skmtc.net/myofficeguy/apis/sumit-api-full.md) · [All operations](https://skmtc.net/myofficeguy/apis/sumit-api-full/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myofficeguy/sumit-api-full/versions/de2902289b3a/schema)
