PUT
/
api
/
transactions
/
{heron_id}
/
feedback
curl --request PUT \
  --url https://app.herondata.io/api/transactions/{heron_id}/feedback \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "transaction": {
    "category": {
      "heron_id": "ctg_5YWur9nSigsRS9btNYcnK9",
      "label": "Insurance"
    },
    "merchant": {
      "heron_id": "mrc_XqYohXoK7fKXymT9Heu6K8",
      "is_correct": false,
      "name": "Spotify"
    },
    "source": null
  }
}'

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

heron_id
string
required

Transaction heron_id

Body

application/json
A partial Transaction object with the suggested Category and/or Merchant. If you provide a `heron_id` for Category or Merchant, you don't need to provide other fields. If you don't know the Merchant `heron_id` nor name, you can just send the `is_correct` boolean. If `heron_id` is provided, we disregard `name` and `label`. If `is_correct` is set to true, we disregard all other Merchant fields.
transaction
object

Response

200
_mintlify/placeholder

OK