> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remap Transaction ID

> Use this endpoint to remap the ID assigned to the transaction.

This endpoint allows partners to re-assign their partner-defined transaction ID.

## Path Parameters

<ParamField path="user_id" required type="string" />

<ParamField path="member_id" required type="string" />

<ParamField path="account_id" required type="string" />

<ParamField path="transaction_id" required type="string">
  The old `id`.
</ParamField>

## Body Parameters

<ParamField body="id" required type="string">
  The new `id`.
</ParamField>

<RequestExample>
  ```shell Request theme={null}
  curl -i -X PUT https://int-live.moneydesktop.com/{client_id}/users/{user_id}/members/{member_id}/accounts/{account_id}/transactions/{transaction_id}/remap_id.json \
  -H 'Content-Type: application/vnd.moneydesktop.mdx.v5+json' \
  -H 'Accept: application/vnd.moneydesktop.mdx.v5+json' \
  -H 'MD-API-KEY: {api_key}' \
    -d '{
          "transaction": {
            "id": "A-2345"
          }
        }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "transaction": {
      "account_guid": "ACT-a341b026-635c-8318-002c-9f3a58b0eff8",
      "account_id": "A-XZ5Y4L",
      "amount": 8.2,
      "category": "GAS",
      "category_guid": "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874",
      "category_name": "Gas",
      "check_image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
      "check_number": "9543",
      "currency_code": null,
      "description": "Costco (Gas)",
      "guid": "TRN-cd2987fe-9afb-e912-a5e3-2eaabb866e43",
      "id": "T-3QP5X0",
      "is_international": false,
      "latitude": "40.429675",
      "localized_description": null,
      "localized_memo": null,
      "longitude": "-111.891982",
      "member_guid": "MBR-3e4f6897-06ae-e08a-29b2-27d62e574978",
      "member_id": "M-39XBF7",
      "memo": "POS Purchase",
      "merchant_category_code": null,
      "merchant_guid": "MCH-bcd4eed1-f341-b7bb-4cbd-e2a854205306",
      "merchant_location_guid": null,
      "metadata": null,
      "posted_at": 1382961600,
      "posted_on": "2013-10-28",
      "running_balance": 345.45,
      "status": "POSTED",
      "transacted_at": 1382961600,
      "transacted_on": "2013-10-28",
      "type": "DEBIT",
      "user_guid": "USR-fe9bb059-67c4-0e6b-e8cd-3fa00b2b5735",
      "user_id": "U-39XBF7"
    }
  }
  ```
</ResponseExample>
