Edit transaction notes

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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' \
     -H 'X-App-Token: <your-app-token>' \
     -H 'X-App-Access-Sig: <your-signature>' \
     -H 'X-App-Access-Ts: <unix-timestamp>' \
     -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 .
txnIdStringUnique transaction 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"
}

Body Params
string
required

Unique transaction identifier in the Sumsub system.

This ID is returned in the response to this request and a webhook (kytTxnId). Save it for future use in subsequent API calls. Alternatively, you can get this identifier by the following method.

string
required

Unique note identifier.

ⓘ If this identifier is unknown to you, use this method to fetch it.

string
required

New text of the note.

tags
array of strings

Tags that you may want to assign to the transaction (one tag per string). Mind that tag names are case sensitive.

tags
Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!