---
title: "Get Transaction History"
method: GET
path: "/api/v1/transaction"
tags: ["Transaction"]
---

# Get Transaction History

`GET /api/v1/transaction`

This API is used to get all the transaction history based on the filter criteria of the Securo account.

## Query parameters

- `page` number
- `limit` number
- `orderBy` string
- `orderSequence` number
- `status` string
- `Start date` string, YYYY-MM-DD
- `End date` string, YYYY-MM-DD
- `actionType` string
- `customerId` number — Customer ID
- `sandbox` string
- `hash` string — Transaction Hash
- `currency` string
- `transactionCategory` string
- `symbol` string

## Response `200`

Transactions fetched

- TransactionResponseVo
  - `statusCode` number
  - `message` string
  - `data` TransactionVo[]
    - `id` number — Transaction identifier
    - `createAt` string — Created datetime of the transaction
    - `actionType` string — Symbol of transaction action. E.g. `DEPOSIT` - Deposit into Index Fund/Earn, `WITHDRAW` - Withdraw from Index Fund/Earn, `APPROVE` - Approve transaction, `SWAP` - Swap token
    - `transactionCategory` string — Symbol of the transaction type. `PRODUCT` - Index Funds, Token Swap, Liquidity Provider, `WALLET` - Fiat-to-crypto payment
    - `currency` string — Currency used in the transaction. This is only applicable in fiat-to-crypto payment transaction.
    - `status` string — Symbol of transactino status. `S` - Success, `P` - Pending, `F` - Failed
    - `amount` string — Transaction amount in token
    - `session` object — Session details of the transaction
      - `id` number — Session ID
      - `type` string — API action type of the transaction. `deposit` - Deposit into Index Fund, `withdraw` - Withdraw from Index Fund, `dex_swap` - Swap token, `dex_liquidity` - Provide/Withdraw liquidity
      - `status` string — Session status of the transaction. `open` - Sesssion is created but no process transaction, `expired` - Session is expired, `completed` - Transaction session is completed
      - `amount` string — Transaction amount in token
      - `params` string — API parameters used for created session in JSON format.
      - `usdAmount` number — Transaction amount in USD
    - `product` object — Product details of the transaction
      - `name` string — Product name
      - `symbol` string — Product symbol, value included `LCI`, `MWI`, `DEX_SWAP`, `DEX_LIQUIDITY`
    - `payment` object — Payment details. Only applicable on fiat-to-crypto payment transaction
      - `paymentId` number — Payment ID
      - `status` string — Payment status, value included `success`, `pending`, `failed`, `void`, `refund`
      - `fiatCurrencyUsed` string — Fiat currency symbol used in the transaction
      - `tokenUsed` string — Token symbol used in the transaction
      - `fiatAmount` string — Fiat amount used in the transaction
      - `usdAmount` string — Transaction amount in USD
      - `cryptoAmount` string — Token amount used in the transaction
  - `total` number — Total number of records

## Other responses

- `401` — Unauthorized
- `403` — Forbidden Resources

---

[API](https://skmtc.dev/securo/apis/securo-api.md) · [All operations](https://skmtc.dev/securo/apis/securo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/securo/securo-api/revisions/6cdab218fa72/schema)
