Example page

Payment declined via API routed to webhook

Demonstrates mapping an API payment-failure into TriageFast's structured fields and sending to a webhook. Shows quick classification for billing teams.

What this shows

This example helps developers see how a messy API-sourced payment failure becomes a clear webhook payload so teams can act fast.

Raw feedback

User message

My card was charged but the app says payment failed and I can't access my account. I see error code 402 and the invoice # INV-2387 - please fix, urgent.

Triage output

Structured result

{
    "type": "billing",
    "severity": "high",
    "title": "Payment failed after card charged",
    "summary": "User's card was charged but the system reports a payment failure preventing account access, referencing invoice INV-2387 and error 402.",
    "tags": [
        "payment-failure",
        "charge",
        "invoice",
        "account-access"
    ],
    "sentiment": "frustrated",
    "confidence": 0.95
}

Resulting issue

webhook

Payment failed after charge — INV-2387 (error 402)

User reports their card was charged but the app shows a payment failure and they cannot access their account. Error code: 402. Invoice: INV-2387. Raw message: "My card was charged but the app says payment failed and I can't access my account. I see error code 402 and the invoice # INV-2387 - please fix, urgent." Suggested actions: verify transaction status with payments provider, reconcile invoice INV-2387, restore access if payment confirmed, notify user.

Live example

Use the API directly

Send the same raw message to TriageFast and get the structured result back through the normal ingest endpoint.

curl -X POST https://triagefast.app/api/v1/ingest -H "Authorization: Bearer tf_live_xxxx" -H "Content-Type: application/json" -d '{"source":"api","message":"My card was charged but the app says payment failed and I can't access my account. I see error code 402 and the invoice # INV-2387 - please fix, urgent."}'

How it works

Step 1

Send the message

POST the raw API feedback to TriageFast's ingest endpoint.

Step 2

TriageFast classifies it

AI extracts type, severity, title, summary, tags, sentiment, and confidence in under 30 seconds.

Step 3

Structured output appears in webhook

A formatted issue payload is sent to your webhook for downstream handling.

Related examples

Try TriageFast free — 100 triages/month

Free plan includes 100 triages per month. No credit card required.