---
title: "Transaction support"
method: POST
path: "/support/{transaction_id}"
tags: ["Support"]
---

# Transaction support

`POST /support/{transaction_id}`

Let us know when we get something wrong 🙏.
The request body should match the type of request you are making:

### Notify Us Of A Duplicate ###

| Parameter  | Example                             | Description                                                                            |
|:-----------|:------------------------------------|:---------------------------------------------------------------------------------------|
| `type`     | `"DUPLICATE"`                       | Let us know that two Akahu transactions are actually the same transaction in the bank. |
| `other_id` | `"trans_1111111111111111111111111"` | The duplicate transaction ID.                                                          |

### Notify Us Of An Enrichment Error ###

| Parameter  | Example                              | Description                                           |
|:-----------|:-------------------------------------|:------------------------------------------------------|
| `type`     | `"ENRICHMENT_ERROR"`                 | Let us know when we get something wrong.              |
| `fields`   | `[ "merchant.name"]`                 | A list of dot-separated paths to the incorrect values |
| `comment`  | `"X should be Y"`                    | Additional info you want to include.                  |

### Suggest An Improvement To Enrichment Data ###

| Parameter  | Example                        | Description                                                                                           |
|:-----------|:-------------------------------|:------------------------------------------------------------------------------------------------------|
| `type`     | `"ENRICHMENT_SUGGESTION"`      | Let us know about further enrichment that can be applied to this transaction transaction in the bank. |
| `comment`  | `"Can you please add X to Y?"` | The enrichment information you want to tell us about.                                                 |

## Headers

- `X-Akahu-Id` string, required

## Request body

- object
  - `type` 'DUPLICATE' | 'ENRICHMENT_ERROR' | 'ENRICHMENT_SUGGESTION', required — What type of support request you want to make: - `DUPLICATE` → Report duplicate transactions. - `ENRICHMENT_ERROR` → Enrichment is incorrect or contained unexpected data. - `ENRICHMENT_SUGGESTION` → Suggest an improvement on existing enrichment.
  - `other_id` string — In the case of duplicates, the duplicate transaction ID.
  - `fields` string[] — In the case of enrichment errors, the dot-separated paths to the incorrect values.
  - `comment` string — A comment describing the problem and giving extra details.

## Response `200`

Successful response.

- object
  - `success` boolean

## Other responses

- `400` — Your request was malformed or otherwise unacceptable. More details are provided under the `message` key in the response.
- `401` — You are not authorised to access this content.
- `403` — You are not allowed to access this content.
- `500` — An internal error has prevented us from processing the request. More detail may be supplied in the `message` key.

---

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