{
  "info": {
    "name": "SahiAPI GST Verification",
    "description": "Set base_url and your local api_key before sending. Test requests use test credits. Live requests use paid credits. Never share or commit API keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "base_url", "value": "https://sahiapi.com", "type": "string" },
    { "key": "api_key", "value": "", "type": "string" },
    { "key": "gst_number", "value": "29CGTPB7711E1Z9", "type": "string" }
  ],
  "item": [
    {
      "name": "Verify GST - Test",
      "request": {
        "method": "POST",
        "header": [
          { "key": "X-API-Key", "value": "{{api_key}}", "type": "text" },
          { "key": "Content-Type", "value": "application/json", "type": "text" },
          { "key": "Accept", "value": "application/json", "type": "text" }
        ],
        "url": "{{base_url}}/api/v1/client/gst",
        "description": "Returns illustrative mock data and uses one test credit. Inspect HTTP status and response body.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"gstNo\": \"{{gst_number}}\",\n  \"mode\": \"test\",\n  \"testMode\": \"active\"\n}",
          "options": { "raw": { "language": "json" } }
        }
      }
    },
    {
      "name": "Verify GST - Live",
      "request": {
        "method": "POST",
        "header": [
          { "key": "X-API-Key", "value": "{{api_key}}", "type": "text" },
          { "key": "Content-Type", "value": "application/json", "type": "text" },
          { "key": "Accept", "value": "application/json", "type": "text" }
        ],
        "url": "{{base_url}}/api/v1/client/gst",
        "description": "Contacts a live verification provider and uses paid credits. Purchases are non-refundable. Do not run this request unintentionally.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"gstNo\": \"{{gst_number}}\",\n  \"mode\": \"live\"\n}",
          "options": { "raw": { "language": "json" } }
        }
      }
    }
  ]
}
