POS Transactions

Get transaction statements using API services

SingleView POS Transactions API service, svPOSTransactionsService, allows users to retrieve Point-of-Sale (POS) transaction details for a specific company, account, terminal, and date. This service returns transaction settlement and reconciliation information including transaction amount, fees, VAT, and net settlement values.

Endpoint details

Endpoint URL

Method

Authentication requirements

/v1/api/erp/svPOSTransactionsService

POST

  1. clientid
  2. clientsecret
  3. signature

Fetch POS Transactions

Sample request

curl --location --request POST 'https://servicesuat.onesingleview.com/v1/api/erp/svPOSTransactionsService' \
--header 'clientid: Enter_Client_ID' \
--header 'clientsecret: Enter_Client_Secret' \
--header 'signature: Enter_Signature' \
--header 'Content-Type: application/json' \
--data-raw '{
"svPOSTransactionsServiceRQ": {
  "company": [
    {
      "companyCode": "1234",
      "userName": "Muhammad_1234",
      "account": [
        {
          "acERPcode": "1234_SNB12",
          "date": "2026-01-05T00:00:00",
          "terminalId": "1001231234"
        }
      ]
    }
  ]
}
}'

Request description

JSON Tag

Description

Data Type

svPOSTransactionsServiceRQ Mandatory

Tag carrying information on request to fetch POS transactions

Object

company Mandatory

Tag carrying information about company

Array

companyCode Mandatory

Unique company identification code Length of input: Min 3 Characters Max 20 Characters

String

userName Mandatory

Unique user identification name Length of input: Min 3 Characters Max 20 Characters

String

account Mandatory

Tag carrying information on account and terminal details to fetch POS transactions

Array

acERPcode Mandatory

Unique account ERP identification code Min: 9 Characters

Alphanumerical

date Mandatory

Date of the POS transactions to be fetched in ISO 8601 date format

Date

terminalId Conditional
Mandatory for SNB

Unique terminal identification details

String

Sample response

{
  "svPOSTransactionsServiceRS": {
    "company": [
      {
        "companyCode": "1234",
        "userName": "Muhammad_1234",
        "account": [
          {
            "acERPcode": "1234_SNB12",
            "date": "2026-02-05T00:00:00",
            "status": 0,
            "accountNumber": "05112345356123",
            "transactions": [
              {
                "TerminalId": "1001231234",
                "TransactionDetails": [
                  {
                    "SequenceNumber": "929122404321",
                    "AuthorizationNumber": "476171",
                    "CardType": "P1",
                    "CardNumber": "*******",
                    "TransactionType": "PURCHASE",
                    "TransactionDate": "20260205",
                    "TransactionTime": "014030",
                    "SettledDate": "20260205",
                    "SettlementNumber": "5432112341",
                    "TransactionAmount": "41.95",
                    "FeesAmount": "0.33",
                    "CashBackAmount": "0",
                    "VatPercentage": "5",
                    "VatAmount": "0.02",
                    "NetAmount": "36.6"
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}

Response description

JSON TagDescriptionData Type
svPOSTransactionsServiceRSTag carrying information on process response for POS transaction servicesObject
companyTag carrying information on companyArray
companyCodeUnique company identification codeString
userNameUnique usernameString
accountTag carrying information on acquired POS transaction detailsArray
acERPcodeUnique ERP account codeAlphanumeric
dateDate of the POS transactions fetched in ISO 8601 date formatDate
statusCode denoting the status of the processNumeric
AccountNumberUnique account identificationNumeric
TransactionsTag carrying information on fetched POS transactionsArray
terminalIdUnique terminal identification detailsNumeric
TransactionDetailsTag carrying information on transaction details for the terminal IDArray
SequenceNumberSequence number of the transactionNumeric
AuthorizationNumberUnique authorization details of the transactionNumeric
CardTypeDetails on type of card as provided by the bank as VC, MC, VISA, MASTERCARD, MADA, SPAN, etc.String
CardNumberMasked card identification detailsString
TransactionTypeDetails on type of transactionString
TransactionDateDate of the transaction in YYYYMMDD formatString
TransactionTimeTime of the transaction in HHMMSS formatString
SettledDateDate of settlement of the transaction provided post the settlement of the transaction in YYYYMMDD formatString
SettlementNumberUnique settlement reference number provided post the settlement of transactionNumeric
TransactionAmountTotal transaction amount for the transactionNumeric
FeesAmountFees charged for the transactionNumeric
CashBackAmountAmount received as cashbackNumeric
VatPercentagePercentage denoting the VATString
VatAmountAmount charged under VATNumeric
NetAmountNet amount of the transaction as provided by the specific banksNumeric