---
title: "Get Transaction"
method: GET
path: "/api/v1/wallets/:walletId/transactions/:transactionId"
tags: ["Wallets"]
---

# Get Transaction

`GET /api/v1/wallets/:walletId/transactions/:transactionId`

## Request

- Base URL: `https://merchant-api.accruesavings.com`
- URL: `https://merchant-api.accruesavings.com/api/v1/wallets/:walletId/transactions/:transactionId`
- Auth: none declared. Required headers: `Client-ID`, `Authorization`
- TypeScript: <https://skmtc.dev/byaccrue/apis/accrue-merchant-api/docs/api/v1/wallets/:walletId/transactions/:transactionId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a specific transaction by ID

## Path parameters

- `walletId` string, uuid, required: The wallet ID.
- `transactionId` string, uuid, required: The transaction ID.

## Headers

- `Client-ID` string, uuid, required: The unique identifier of the client making the request. This header is required to retrieve the client-specific configuration and ensure that the response is tailored to the client's settings and permissions.
- `Authorization` string, uuid, required: Secure secret to access privileged endpoints.

## Response `200`

OK

- GetTransactionResponse
  - `data` Transaction, required: A transaction
    - `id` string, uuid, required: Unique identifier for the object.
    - `type` 'Transaction', required
    - `attributes` object, required
      - `id` string, uuid, required: Transaction ID
      - `walletId` string, uuid, required: The wallet ID associated with this transaction
      - `type` string, required: The type of transaction
      - `status` 'Pending' | 'Cleared' | 'Failed', required: The current status of the transaction
      - `amount` integer, required: The transaction amount, represented in the smallest currency unit (e.g., cents for USD). To obtain the value in dollars, divide by 100.
      - `createdAt` string, date-time, required: The date and time when the transaction was created
      - `clearedAt` string, date-time: The date and time when the transaction was cleared (undefined if not yet cleared)
      - `charges` object: Charges applied to this transaction.
        - `fee` object: Processing fee details
          - `amount` integer, required: Fee amount in cents
          - `type` string, required: Fee type identifier (e.g., 'ACHFee', 'CardFee').

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/byaccrue/apis/accrue-merchant-api.md) - [All operations](https://skmtc.dev/byaccrue/apis/accrue-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/byaccrue/apis/accrue-merchant-api/revisions/3e2d97ef2e6e?raw)
