Skip to main content
POST
/
v1
/
feedback
curl -X POST https://api.parsetx.dev/v1/feedback \
  -H "X-API-Key: ptx_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "raw_input": "AMZN MKTP US*1A2B3C",
    "returned_name": "Amazon Fresh",
    "returned_category": "Grocery",
    "correct_name": "Amazon Marketplace",
    "correct_category": "Shopping",
    "notes": "This was a standard marketplace purchase, not Amazon Fresh."
  }'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "message": "Thank you for your feedback. We review all submissions."
}
Use this endpoint to flag a transaction enrichment that returned wrong data — wrong merchant name, wrong category, or a misidentified merchant entirely. All submissions are reviewed. We update the underlying cache and LLM prompts based on real-world reports.

Request Body

raw_input
string
required
The raw transaction string you passed to /v1/enrich.
returned_name
string
The merchant name ParseTx returned (for context — helps us locate the cached entry).
returned_category
string
The category ParseTx returned.
correct_name
string
What the merchant name should be.
correct_category
string
What the category should be.
notes
string
Any additional context. Max 1,000 characters.

Response

Returns 201 Created on success.
id
string
UUID of the feedback record.
message
string
Confirmation message.
curl -X POST https://api.parsetx.dev/v1/feedback \
  -H "X-API-Key: ptx_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "raw_input": "AMZN MKTP US*1A2B3C",
    "returned_name": "Amazon Fresh",
    "returned_category": "Grocery",
    "correct_name": "Amazon Marketplace",
    "correct_category": "Shopping",
    "notes": "This was a standard marketplace purchase, not Amazon Fresh."
  }'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "message": "Thank you for your feedback. We review all submissions."
}