> ## Documentation Index
> Fetch the complete documentation index at: https://docs.handle.ng/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Vending Transaction

> Requery the status, token, and units of a vending transaction by merchant client reference.

Requery any transaction to confirm final settlement status or retrieve the generated token if a network interruption occurred.

### Path Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `reference` | `string` | **Yes** | The unique `clientReference` supplied during transaction execution. |

### Response

```json theme={null}
{
  "message": "successful",
  "status": "00",
  "data": {
    "clientReference": "uat_tx_1790769719777",
    "paymentIdentifier": "PID_99018274619",
    "transactionStatus": "SUCCESS",
    "token": "4910-2819-3810-4819-1029",
    "unit": "38.5 kWh",
    "amount": 1000
  }
}
```


## OpenAPI

````yaml remita_openapi.json GET /vending/query-transaction/{reference}
openapi: 3.0.3
info:
  title: Remita (SystemSpecs) VAS & Collection API
  description: >-
    Interactive API specification for Remita / SystemSpecs Connect Gateway VAS
    Vending, Utilities, and RRR Biller Collections.
  version: 1.0.0
servers:
  - url: https://api-demo.systemspecsng.com/services/connect-gateway/api/v1
    description: Sandbox / Demo Environment (UAT)
  - url: https://api-gateway.remita.net/api/v1
    description: Production Live Environment
security:
  - SecretKey: []
paths:
  /vending/query-transaction/{reference}:
    get:
      summary: Query Vending Transaction
      description: >-
        Requery the status and token of a vending transaction by client
        reference.
      operationId: queryTransaction
      parameters:
        - name: reference
          in: path
          required: true
          schema:
            type: string
            default: uat_tx_1790769719777
          example: uat_tx_1790769719777
      responses:
        '200':
          description: Transaction details and status
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: '00'
                  message:
                    type: string
                    example: Transaction found
                  data:
                    type: object
                    properties:
                      transactionRef:
                        type: string
                        example: uat_tx_1790769719777
                      token:
                        type: string
                        example: 4819-2049-1829-4019-3382
                      units:
                        type: string
                        example: 34.5 kWh
                      amount:
                        type: number
                        example: 1000
                      status:
                        type: string
                        example: SUCCESS
                      paidAt:
                        type: string
                        example: '2026-10-01T10:15:00Z'
              example:
                status: '00'
                message: Transaction found
                data:
                  transactionRef: uat_tx_1790769719777
                  token: 4819-2049-1829-4019-3382
                  units: 34.5 kWh
                  amount: 1000
                  status: SUCCESS
                  paidAt: '2026-10-01T10:15:00Z'
components:
  securitySchemes:
    SecretKey:
      type: apiKey
      in: header
      name: secretKey
      description: SystemSpecs Demo / Live Secret Key
      x-default: sk_test_l/pQgOLgziOTzb+7pcUXVH2iX1MlpROsePDkNi/g/QmMs2c8P0DPr1vUP7xESiGG

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.