Edit transaction notes

Updates an existing transaction note.

Overview

Use this method to edit an existing transaction note.

📘

Note

To add a new note to the particular transaction, use this method.

Request example

curl -X PATCH \
     'https://api.sumsub.com/resources/kyt/txns/notes' \
     -H 'content-type: application/json' \
     -d '{
            "txnId": "66c46d7566f5244e45a81167",
            "id": "66cf0fcec9ba855902121cf7",
            "note": "Updated text of the note"
          }'

Response explained

The response is a JSON file representing the details of the updated note.

The following table explains the response attributes.

FieldTypeDescription
idStringNote identifier. You may need it in case you want to edit or remove the note .
txnIdStringTransaction identifier in the Sumsub system.
noteStringText of the note that was added to the transaction.
createdAtDateDate and time when the note was added.
createdByDateIdentifier of the note author.

Response examples

If the request is sent and processed successfully, you will receive a response like the following:

{
  "id": "66cf0fcec9ba855902121cf7",
  "txnId": "66c46d7566f5244e45a81167",
  "note": "Updated text of the note",
  "createdAt": "2024-08-28 11:53:50+0000",
  "createdBy": "service-prd-XXXDYWTFWAQXXX-app-name lastname"
}

If the request fails, you will receive an HTTP response containing an error code along with a message explaining the error. For example:

{
  "description": "Malformed data provided in the request",
  "code": 400,
  "correlationId": "f08a5c47fbb49289bb1c8116a296ddf5"
}
Language
Authorization
Header
Click Try It! to start a request and see the response here!