Skip to main content
Yapily Data Plus is available as a BETA version.
The Categorisation Feedback API is currently available in the following countries: UK, France, Germany, Austria, Ireland, Italy, Spain, Denmark, Finland, and Norway.

Background

Yapily’s Categorisation Feedback API is a complementary Data Plus service that lets you flag issues with categorised transactions and track the status of that feedback over time. This closes the loop between the Categorisation engine and your application, helping improve the accuracy of categorisation results over time.
  • Report incorrect or missing fields on a categorised transaction
  • Retrieve previously submitted feedback, either by Categorisation ID or by Feedback ID
  • Track the review status of each piece of feedback you submit, and get notified when it changes

How it works

1

Complete prerequisites

Before submitting feedback on a categorised transaction, you will first need to:
  1. Have a Categorisation result, including the Categorisation ID and Transaction Hash you want to submit feedback for
  2. Register a Webhook for notification events when a feedback’s status changes

Webhook Registration

Please follow our Webhook Registration Guide in order to register a webhook for your application.

Webhook Event

In order to get notified when a categorisation feedback request has changed status you will have to subscriber to the following webhook event:
  • categorisation.feedback_status.updated.v1 - is the event triggered when the status of a categorisation feedback is updated.
2

Submit feedback on a categorised transaction

Submitting feedback on a transaction

Once you have a categorised transaction, you can submit feedback against it using its Categorisation ID and Transaction Hash.
  1. Call POST /transactions/categorisation/{categorisationId}/feedback
    • Provide the transactionHash of the transaction you’re submitting feedback for
    • Provide one or more suggestions, each describing what’s wrong with the categorisation
    • Optionally, provide free-form notes for anything the suggestions don’t cover
    • See the endpoint’s API specification for details
Suggestion fields
A successful submission returns the created feedback, with a status of RECEIVED:
3

Get notified once feedback status changes

Feedback Status Change Event

An event is triggered on the topic categorisation.feedback_status.updated.v1 whenever the status of a categorisation feedback is updated.
4

Retrieve feedback status

Once feedback has been submitted, you can retrieve it either by the Categorisation ID it was submitted against, or directly by its Feedback ID.
  1. Call GET /transactions/categorisation/{categorisationId}/feedback to retrieve all feedback submitted against a Categorisation ID
  2. Or call GET /transactions/categorisation/feedback/{feedbackId} to retrieve a single piece of feedback by its Feedback ID
Feedback statusFeedback moves through the following statuses as it’s reviewed:

Next steps