v1

latestOpenAPI 3.0.02026-07-26224386470.0 KB
EnrichmentFeedback

Bulk create merchant feedback for an end user

Provide bulk feedback on Transaction Merchants for a specified end user

post/api/end_users/{end_user_id_or_heron_id}/merchant_feedback

Path parameters

end_user_id_or_heron_idstring required

Request body

transaction_heron_idsstring[] required

List of transaction heron IDs

Example request

{
  "merchant": {
    "merchant_group_id": "Uber",
    "merchant_heron_id": "mrc_ZP9pCMdgavaeX6Y2uiQxoz",
    "merchant_name": "Acme Corporation",
    "merchant_url": "https://acme.com"
  },
  "transaction_heron_ids": [
    "txn_Gr7AGubJtR6sDLkd6LNvw8"
  ]
}

Response

OK

num_annotationsinteger

The number of merchant annotations added

transaction_heron_idsstring[]

List of affected transaction heron IDs

Example response

{
  "num_annotations": 1
}