---
title: "Search Transaction Metadata"
method: GET
path: "/business/v2/transactions/{transactionId}/metadata"
tags: ["Transaction Metadata"]
---

# Search Transaction Metadata

`GET /business/v2/transactions/{transactionId}/metadata`

## Request

- Base URL: `https://api.soldo.com`
- URL: `https://api.soldo.com/business/v2/transactions/{transactionId}/metadata`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.soldo.com/oauth/authorize` scopes: `transaction_read`

Endpoint to get the list of metadata of a `Transaction`.

## Path parameters

- `transactionId` string, required: The `Transaction` ID.

## Query parameters

- `p` integer: It indicates the specific page to display (the counter starts from zero).
- `s` integer: It indicates the number of items per page.
- `d` 'ASC' | 'DESC': It indicates how the pages are ordered.
- `props` string[]: It indicates the sorting direction applied to the above parameters. To apply a sorting on multiple parameters, set as many times the `props` parameter in the request.

## Response `200`

The results array contains metadata.

- TransactionMetadataList
  - `total` integer: It represents the total number of available items in the list.
  - `pages` integer: It represents the total number of available pages.
  - `page_size` integer: It represents the number of items per page.
  - `current_page` integer: It indicates the current page (the counter starts from zero).
  - `results_size` integer: It indicates the size of the array results.
  - `results` TransactionMetadata[]
    - `id` string: The ID related to the custom generated Metadata of the `Transaction`.
    - `metadata` object: A generic JSON.
    - `creation_time` string: The date and time when the metadata was created (sortable: yes).
    - `last_update` string: The date and time when the metadata was last updated (sortable: yes).

## Other responses

- `404`: One or more resource requested does not exist.

---

[API](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0.md) - [All operations](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/revisions/23fc5d07b367?raw)
