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

# Get Transaction Details

> Retrieve transaction details by transaction ID. This endpoint does not return sensitive user or wallet IDs.

Retrieve transaction details by transaction ID. This endpoint does not return sensitive user or wallet IDs.


## OpenAPI

````yaml GET /wallet/transaction/{transactionId}
openapi: 3.1.0
info:
  title: Changu External Wallet Charging API
  description: >-
    API for developers to charge user wallets through encrypted wallet IDs.
    Requires developer authentication using Bearer token with secret key.
  version: 1.0.0
servers:
  - url: https://api.changu.app/api/v1
    description: Production
  - url: http://localhost:9287/api/v1
    description: Development
security:
  - bearerAuth: []
paths:
  /wallet/transaction/{transactionId}:
    get:
      tags:
        - Wallet
      summary: Get Transaction Details
      description: >-
        Retrieve transaction details by transaction ID. This endpoint does not
        return sensitive user or wallet IDs.
      operationId: getTransactionDetails
      parameters:
        - name: transactionId
          in: path
          required: true
          description: Transaction ID
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Transaction details retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transaction'
        '401':
          description: Unauthorized - Invalid secret key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Transaction not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Transaction:
      type: object
      required:
        - id
        - amount
        - currency
        - status
        - type
        - description
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          format: uuid
          example: 123e4567-e89b-12d3-a456-426614174000
        amount:
          type: number
          format: double
          example: 1000
        currency:
          type: string
          example: MWK
        status:
          type: string
          enum:
            - PENDING
            - PROCESSING
            - COMPLETED
            - FAILED
            - CANCELLED
            - REFUNDED
          example: COMPLETED
        type:
          type: string
          enum:
            - WALLET_PAYMENT
          example: WALLET_PAYMENT
        description:
          type: string
          example: Payment for service XYZ
        paymentProvider:
          type: string
          enum:
            - WALLET
          example: WALLET
        paymentReference:
          type: string
          example: PAY_REQ_1737567000000_abc123
        createdAt:
          type: string
          format: date-time
          example: '2026-01-22T17:25:00.000Z'
        updatedAt:
          type: string
          format: date-time
          example: '2026-01-22T17:25:00.000Z'
    Error:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          example: 400
        message:
          type: string
          example: Invalid encrypted wallet ID
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Bearer token authentication using developer secret key. Format: Bearer
        sk_live_your_secret_key_here

````