---
title: "Get prepaid card history"
method: GET
path: "/v1/prepaid-card/{cardId}/history"
tags: ["Prepaid Card (User)"]
---

# Get prepaid card history

`GET /v1/prepaid-card/{cardId}/history`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

## Path parameters

- `cardId` string, required

## Response `200`

Prepaid card history retrieved successfully

- HistoryResponse
  - `state` 'LIQUID' | 'FROZEN' | 'SENDING' | 'SENT' | 'SPENT': Current state of the balance.
  - `type` 'VOUCHER' | 'UTXO' | 'GIFT_CARD' | 'PREPAID_CARD' | 'UTILITY_TOKEN': Type of balance.
  - `currency` string: The currency of the transaction.
  - `txes` Transaction[]: List of transactions.
    - `txid` string: Unique identifier of the transaction.
    - `amount` number: Amount involved in the transaction.
    - `direction` 'income' | 'outcome': Direction of the transaction.
    - `type` string: Type of the transaction.
    - `timestamp` string, date-time: Timestamp of the transaction.
    - `from` string, uuid, nullable: Source of the transaction. Can be null.
    - `to` string, uuid: Destination of the transaction.

## Changes

- **2026-07-17** `e825144e9ffd`: 4 info
  - added the optional property `currency` to the response with the `200` status
  - added the optional property `state` to the response with the `200` status
  - added the optional property `txes` to the response with the `200` status
  - added the optional property `type` to the response with the `200` status
- **2023-08-01** `eaa698f0f7cb`: 4 warning
  - removed the optional property `currency` from the response with the `200` status
  - removed the optional property `state` from the response with the `200` status
  - removed the optional property `txes` from the response with the `200` status
  - removed the optional property `type` from the response with the `200` status

[Operation history](https://skmtc.dev/openloyalty/apis/loyalty-blockchain-api/changes/v1/prepaid-card/:cardId/history/get.md)

---

[API](https://skmtc.dev/openloyalty/apis/loyalty-blockchain-api.md) - [All operations](https://skmtc.dev/openloyalty/apis/loyalty-blockchain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openloyalty/apis/loyalty-blockchain-api/revisions/e825144e9ffd?raw)
