Transactions

Update transaction metadata

Changed on

Update the note and/or category of an existing transaction. Use null values to clear existing data.

patch/transaction/{transactionId}

Request

  • Base URL
    https://api.mercury.com/api/v1
  • URL
    https://api.mercury.com/api/v1/transaction/{transactionId}
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

transactionIdstring uuid required

ID for this transaction

Request body

categoryIdstring uuid required

ID for the category

notestring nullable required

Note update action. Omit field to keep current note, send null or empty string to clear note, send text to set note.

Changes

    • breaking

      removed the required property ///// from the response with the status

    • breaking

      removed the required property ///// from the response with the status

    • breaking

      removed the required property ///// from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed subschema #2 from the request property allOf list

    • warning

      removed subschema #2 from the request property allOf list

    • warning

      removed the optional property ///// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • info

      media type application/json was changed to application/json;charset=utf-8 for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the ///// response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the ///// response property allOf list for the response status

    • info

      removed the MerchantRefundToOriginalCharge enum value from the ////// response property for the response status

    • info

      removed the OriginalChargeToMerchantRefund enum value from the ////// response property for the response status

    • info

      removed the interestPayment enum value from the //// response property for the response status

    • warning

      added the new interestPayment enum value to the //// response property for the response status