Request IDs & Observability
Request IDs & Observability​
Every PayWise response includes a request_id header. Treat this ID as the anchor for troubleshooting:
- Log the request ID on inbound traffic, along with headers that affect routing (environment, api key).
- Surface mission-critical errors in dashboards, and correlate with Prometheus/Grafana alerts.
- When tracing distributed systems, annotate spans with the request ID so PayWise support can help join the dots.
Pairs well with our rate-limit headers; when you aggregate metrics per request ID you expose hotspots without storing sensitive payloads.