Mercury: Transactions schemas
4 Mercury schemas with complete fields and constraints.
← Transactions operations · All schemas
List all transactions — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
page | object | Required within parent | |
page.nextPage | string | Optional | Format: uuid |
page.previousPage | string | Optional | Format: uuid |
transactions | array | Required within parent | |
transactions[] | Model | Each item | Expand Get transaction by ID — response body |
Referenced models: Get transaction by ID — response body
Update transaction metadata — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Request body for updating transaction metadata via the public API Additional keys: not allowed |
categoryId | JSON | Optional | |
categoryId (allOf 1) | Model | All variants apply | Expand Update transaction metadata — request body — body category Id value |
categoryId (allOf 2) | JSON | All variants apply | How to update the transaction's category. Omit field to keep current, send null to clear, send ID to set. |
note | JSON | Optional | |
note (allOf 1) | Model | All variants apply | Expand Update transaction metadata — request body — body note value |
note (allOf 2) | JSON | All variants apply | How to update the transaction's note. Omit field to keep current, send null/empty to clear, send text to set. |
Referenced models: Update transaction metadata — request body — body category Id value, Update transaction metadata — request body — body note value
Update transaction metadata — request body — body category Id value
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | string | Alternative | Category update action. Omit field to keep current category, send null to clear category, send an ID to set category. Format: uuid |
$ (anyOf 2) | null | Alternative |
Update transaction metadata — request body — body note value
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | string | Alternative | Note update action. Omit field to keep current note, send null or empty string to clear note, send text to set note. |
$ (anyOf 2) | null | Alternative |