Skip to main content

Dealer Payment Details (Transaction Query)

  • Endpoint: /vpws/transaction
  • HTTP Method: GET
  • Response Content-Type: application/json
  • Authorization: Valid AccessToken required.
    (See: 2. Authentication – Obtaining AccessToken)

Description

This service returns all details of a payment transaction performed via VPWS.

Querying can be done with one of

  • referenceCode
  • transactionId
  • clientReferenceNumber

Note: The transaction can only be viewed if it belongs to the relevant dealer. Transactions belonging to other dealers may return 404 or 403 errors.

Query Parameters

ParameterTypeRequiredDescription
referenceCodestringYes*System reference number (e.g.: NTH2P00000003086)

Example Request

Method: GET
Authorization: Bearer {AccessToken}
URL: https://pgw.netahsilatdemo.com/vpws/transaction?referenceCode=NTH2P00000003086

Response Structure

The service returns the Transaction object directly.

Top-Level Fields

FieldTypeDescription
clientReferenceNumberstring/nullDealer order reference
referenceNumberstringSystem reference number
tenantIdstring (GUID)Main tenant of the transaction
tenantPosIdstring (GUID)POS used
commRatenumberApplied commission rate
currencyTypestringCurrency
transactionDatestring (ISO 8601)Transaction date
installmentintNumber of installments
lastAmountnumberCurrent gross amount
lastNetAmountnumberNet amount after commission
idstring (GUID)transactionId
transactionStatusIdintTransaction status

Status Codes (transactionStatusId)

CodeDescription
1Successful
2Failed
3Pending
curl --location 'https://pgw.netahsilatdemo.com/vpws/transaction?referenceCode=NTH2P00000003086' \
--header 'Authorization: Bearer {AccessToken}'

Notes & Best Practices

  • Using transactionId for transaction verification is recommended when possible.

  • In 3D transactions, the final status must be checked via this endpoint after OTP.

  • Card number is returned masked; full PAN is never returned.

  • After cancellation or refund, lastAmount returns as updated.

  • The paidTenantId field indicates which dealer performed the transaction.

  • A dealer can only query their own transactions.