finaX Logo
API Reference
Guides

Tracing Requests

Analyse errors and trace requests in the finaX API.

To help diagnose issues with your requests, the finaX API supports tracing through the X-FINAX-TRACE-ID HTTP header. By including a unique trace ID in your request, you can correlate logs and identify problems more easily.

sequenceDiagram participant YourSoftware@{ "type" : "entity" } participant finaX YourSoftware->>+finaX: X-FINAX-TRACE-ID: your-unique-trace-id finaX->>-YourSoftware: X-FINAX-TRACE-ID: your-unique-trace-id

Consider following cURL example:

curl -X POST https://api.finax.dev/v1/xml/ubl \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "X-FINAX-TRACE-ID: your-unique-trace-id" \
  -d '{...}'

The response will contain the same X-FINAX-TRACE-ID header, allowing you to match requests and responses.