{"info":{"name":"CrossStax API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":"CrossStax by Staxaxis. One API key works across four APIs: Lead Recovery, Reconciliation, Verification, and Revenue Leakage."},"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{apiKey}}","type":"string"}]},"variable":[{"key":"baseUrl","value":"https://www.crossstax.com"},{"key":"apiKey","value":"stx_test_replace_me"}],"item":[{"name":"Lead Recovery","item":[{"name":"Recover single lead","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/leads/recovery","host":["{{baseUrl}}"],"path":["api","v1","leads","recovery"]},"body":{"mode":"raw","raw":"{\n  \"lead_id\": \"lead_123\",\n  \"industry\": \"roofing\",\n  \"status\": \"estimate_sent\",\n  \"lead_age_days\": 28,\n  \"last_contact_days\": 19,\n  \"estimate_value\": 12000,\n  \"explicit_rejection\": false\n}"}}},{"name":"Recover batch of leads","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/leads/recovery/batch","host":["{{baseUrl}}"],"path":["api","v1","leads","recovery","batch"]},"body":{"mode":"raw","raw":"{\n  \"leads\": [\n    {\n      \"industry\": \"hvac\",\n      \"status\": \"no_response\",\n      \"lead_age_days\": 190\n    },\n    {\n      \"industry\": \"roofing\",\n      \"status\": \"estimate_sent\",\n      \"lead_age_days\": 28,\n      \"estimate_value\": 12000\n    }\n  ]\n}"}}}]},{"name":"Reconciliation","item":[{"name":"Reconcile two datasets","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/reconcile","host":["{{baseUrl}}"],"path":["api","v1","reconcile"]},"body":{"mode":"raw","raw":"{\n  \"source_a\": {\n    \"name\": \"crm\",\n    \"records\": [\n      {\n        \"email\": \"acme@example.com\",\n        \"customer\": \"Acme Co\",\n        \"amount\": 25000,\n        \"status\": \"won\"\n      },\n      {\n        \"email\": \"globex@example.com\",\n        \"customer\": \"Globex\",\n        \"amount\": 12000,\n        \"status\": \"won\"\n      }\n    ]\n  },\n  \"source_b\": {\n    \"name\": \"billing\",\n    \"records\": [\n      {\n        \"email\": \"acme@example.com\",\n        \"customer\": \"Acme Co\",\n        \"amount\": 22000,\n        \"status\": \"paid\"\n      },\n      {\n        \"email\": \"globex@example.com\",\n        \"customer\": \"Globex\",\n        \"amount\": 12000,\n        \"status\": \"paid\"\n      }\n    ]\n  },\n  \"matching\": {\n    \"primary_keys\": [\n      \"email\"\n    ],\n    \"secondary_keys\": [\n      \"customer\"\n    ],\n    \"compare_fields\": [\n      \"amount\",\n      \"status\"\n    ],\n    \"amount_field\": \"amount\"\n  }\n}"}}}]},{"name":"Verification","item":[{"name":"Verify a claim","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/verify","host":["{{baseUrl}}"],"path":["api","v1","verify"]},"body":{"mode":"raw","raw":"{\n  \"claim\": \"Customer owes $47,250\",\n  \"evidence\": [\n    {\n      \"source\": \"billing\",\n      \"record_id\": \"inv_881\",\n      \"field\": \"amount\",\n      \"value\": 47250\n    }\n  ]\n}"}}}]},{"name":"Revenue Leakage","item":[{"name":"Detect revenue leakage","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/revenue-leak","host":["{{baseUrl}}"],"path":["api","v1","revenue-leak"]},"body":{"mode":"raw","raw":"{\n  \"orders\": [\n    {\n      \"order_id\": \"ORD-1\",\n      \"amount\": 18000,\n      \"status\": \"won\"\n    },\n    {\n      \"order_id\": \"ORD-2\",\n      \"amount\": 9000,\n      \"status\": \"won\"\n    }\n  ],\n  \"invoices\": [\n    {\n      \"invoice_id\": \"INV-2\",\n      \"order_id\": \"ORD-2\",\n      \"amount\": 9000,\n      \"status\": \"paid\"\n    }\n  ],\n  \"payments\": [\n    {\n      \"payment_id\": \"PAY-2\",\n      \"invoice_id\": \"INV-2\",\n      \"amount\": 7000\n    }\n  ]\n}"}}}]},{"name":"System","item":[{"name":"Health check","request":{"method":"GET","url":{"raw":"{{baseUrl}}/api/health","host":["{{baseUrl}}"],"path":["api","health"]}}}]}]}