Skip to main content

Remap Transaction ID

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

PUT
/users/{user_id}/members/{member_id}/accounts/{account_id}/transactions/{transaction_id}/remap_id

Path Parameters

FieldRequiredType

user_id

Required
String

member_id

Required
String

account_id

Required
String

transaction_id

The old id.

Required
String

Request Body

FieldRequiredType

id

The new id.

Required
String

Request sample

Language:shell

_10
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 \
_10
-H 'Content-Type: application/vnd.moneydesktop.mdx.v5+json' \
_10
-H 'Accept: application/vnd.moneydesktop.mdx.v5+json' \
_10
-H 'MD-API-KEY: {api_key}' \
_10
-d '{
_10
"transaction": {
_10
"id": "A-2345"
_10
}
_10
}'

Response sample

200
Language:json

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