{
  "info": {
    "name": "RiskMotor Screening API v1.0.0",
    "description": "RiskMotor screens names against official sanctions, trade-restriction and\npolitically-exposed-person registries, and returns **potential matches for\nhuman review** — never a determination.\n\nTwo ideas do the most work in every response, and conflating them is the\nmost common integration mistake:\n\n- A **unique listing** is one designation by one authority. This is what\n  `unique_listing_count` counts, and what a compliance decision is about.\n- A **source confirmation** is one official file that carries that\n  designation. Treasury publishes the same SDN entry in both the SDN list\n  and the Consolidated Screening List, so one listing routinely arrives\n  with two confirmations. **Two confirmations are not two sanctions.**\n\nLikewise, `match_confidence` answers \"is this the same real-world entity?\"\nIt is not a measure of how serious the listing is — that is `severity`.\n",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.riskmotor.com/v1",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "rm_live_replace_me",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Screening",
      "item": [
        {
          "name": "Screen a subject",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "A retry after a timeout must not bill twice."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/screenings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "screenings"
              ],
              "query": []
            },
            "description": "Runs a screening and returns the consolidated result. **This is the\nbillable call** — every request that returns 200 is one metered run.\n\nSend an `Idempotency-Key`. A client cannot distinguish a request that\nnever arrived from a response lost on the way back, so retrying after a\ntimeout is correct — and without the header that retry is a second\nbillable run.\n",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Example Trading Company\",\n  \"type\": \"COMPANY\",\n  \"country\": \"GT\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List your screenings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/screenings?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "screenings"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "25",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "include",
                  "value": "",
                  "description": "Set to `monitoring` to include scheduled monitoring checks in the list.",
                  "disabled": true
                },
                {
                  "key": "starting_after",
                  "value": "",
                  "description": "A screening id from a previous page. Keyset, not offset — rows cannot shift under you between pages.",
                  "disabled": true
                }
              ]
            },
            "description": "Screenings this account has run **through the API**, newest first.\nRuns made by people in the web app are deliberately not listed here:\nthose belong to individual users, and an API key is not a reason to\nhand over what a colleague searched. LIVE and TEST are separate.\n\nScheduled **monitoring** checks are also excluded by default — a\ncustomer monitoring 500 subjects generates 500 runs a day, which would\nbury the calls they made themselves. Pass `include=monitoring` to see\nthem. Either way an individual monitoring run is always retrievable by\nits id.\n"
          }
        },
        {
          "name": "Retrieve a screening",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/screenings/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "screenings",
                ":id"
              ],
              "query": []
            },
            "description": "Returns the screening exactly as it was answered at the time, replayed\nfrom the stored snapshot — never recomputed against today's data. A\nscreening read back a year later says what it said then, which is what\nmakes it usable as an audit record.\n"
          }
        }
      ],
      "description": "Run a screening and read back the ones you have run."
    },
    {
      "name": "Batches",
      "item": [
        {
          "name": "Submit a batch",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/batches",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "batches"
              ],
              "query": []
            },
            "description": "Creates a **draft**. Nothing is screened and nothing is billed until\nyou confirm it — the draft exists so you can check the quote and the\nrow count first.\n\nRows whose name is shorter than two characters are dropped rather than\nqueued, and counted in `rows_skipped`: a row that cannot be screened\nmust never reach the queue, where it would fail and look like an\noutage.\n",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"rows\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List batches",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/batches?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "batches"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "25",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "List batches"
          }
        },
        {
          "name": "Retrieve a batch and its progress",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/batches/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "batches",
                ":id"
              ],
              "query": []
            },
            "description": "Retrieve a batch and its progress"
          }
        },
        {
          "name": "Confirm a batch and start it",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/batches/:id/confirm",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "batches",
                ":id",
                "confirm"
              ],
              "query": []
            },
            "description": "Freezes the row count and starts the queue. **This is where the work\nbecomes chargeable** — the number frozen here is the number on the\ninvoice, and it is never recomputed.\n\nThe whole batch is checked against your remaining daily allowance and\nrefused outright if it will not fit. Running half of a batch and\nfailing the rest is the worst of the available answers, so it is not\none of them.\n\nRows that asked for adverse media are checked the same way, whole: when\nthey will not fit this month's adverse media capacity the batch is\nrefused with 409 `adverse_media_capacity` and `max_adverse_runs` — the\nnumber that would fit — so you can resubmit with fewer rows marked.\n"
          }
        },
        {
          "name": "Cancel a batch",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/batches/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "batches",
                ":id",
                "cancel"
              ],
              "query": []
            },
            "description": "Withdraws everything not yet started. Rows already screened stay done\nand stay billed — that work was really performed.\n"
          }
        },
        {
          "name": "Add adverse media to rows already screened",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/batches/:id/adverse-media",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "batches",
                ":id",
                "adverse-media"
              ],
              "query": []
            },
            "description": "Requests an adverse media check on rows of a CONFIRMED batch — typically\nafter reading the results, for the rows that need review. Rows whose\nprevious check failed (`PROVIDER_FAILURE`, `CANCELLED`) or could not be\nqueued (`REFUSED`) may be asked again; that is a new run, billed only\nif it is delivered.\n\nTwo calls on purpose: send `confirm: false` (the default) to get the\nquote and the eligible count — nothing is reserved — then the same\n`row_ids` with `confirm: true`. Rows not yet screened, not screened at\nall, or already checked are skipped and counted in `skipped`, never\ncharged. Choose rows for a batch you have NOT confirmed yet with each\nrow's `adverse_media` field instead (409 `batch_not_confirmed`).\n",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"row_ids\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Read a batch's rows and their outcomes",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/batches/:id/rows?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "batches",
                ":id",
                "rows"
              ],
              "query": [
                {
                  "key": "outcome",
                  "value": "",
                  "description": "Narrow to one outcome, e.g. only the rows needing review.",
                  "disabled": true
                },
                {
                  "key": "include",
                  "value": "",
                  "description": "Set to `result` to get each row's FULL consolidated result inline,\ninstead of fetching them one at a time. This is the answer to \"2,000\nrows should not mean 2,000 requests\".\n\nFull results are large, so this mode is paged — use `limit` and\n`offset`. Offset paging is safe here specifically because a batch's\nrow set is fixed once created, so nothing shifts under a reader.\n",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "25",
                  "description": "Rows per page. Only used with `include=result`.",
                  "disabled": true
                },
                {
                  "key": "offset",
                  "value": "0",
                  "description": "Rows to skip. Only used with `include=result`.",
                  "disabled": true
                }
              ]
            },
            "description": "Read a batch's rows and their outcomes"
          }
        }
      ],
      "description": "Screen many subjects in one job. A batch row produces an ordinary\nscreening — same engine, same metering, same audit record — so a name\nscreened in a batch is indistinguishable from one screened on its own\nexcept for the `batch_id` recording which job produced it.\n"
    },
    {
      "name": "Datasets",
      "item": [
        {
          "name": "List datasets and their freshness",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sources",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sources"
              ],
              "query": []
            },
            "description": "What every screening is run against, and how current each dataset is.\nThis is the endpoint to cite when an auditor asks what you screen\nagainst and when it was last verified.\n"
          }
        }
      ],
      "description": "What is screened against, and how current it is."
    },
    {
      "name": "Monitoring",
      "item": [
        {
          "name": "Enrol a subject",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/monitored-subjects",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "monitored-subjects"
              ],
              "query": []
            },
            "description": "Screens the subject immediately, returns that result as the baseline,\nand re-screens it daily from then on. **The enrolment screening and\nevery subsequent check are billed as screenings.**\n",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List monitored subjects",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/monitored-subjects?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "monitored-subjects"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "25",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "List monitored subjects"
          }
        },
        {
          "name": "Retrieve a monitored subject",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/monitored-subjects/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "monitored-subjects",
                ":id"
              ],
              "query": []
            },
            "description": "Retrieve a monitored subject"
          }
        },
        {
          "name": "Pause, resume, or relabel",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/monitored-subjects/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "monitored-subjects",
                ":id"
              ],
              "query": []
            },
            "description": "Only `status` and `external_ref` may change. The screening input is\nfrozen on purpose: a subject whose name is edited is a DIFFERENT\nsubject, and rewriting it in place would rebase the alert history onto\nsomeone else. Enrol a new one instead.\n\nPausing stops the daily checks, and therefore the daily charge.\n"
          }
        },
        {
          "name": "Stop monitoring a subject",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/monitored-subjects/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "monitored-subjects",
                ":id"
              ],
              "query": []
            },
            "description": "Checks stop and the charge stops with them. The screenings already\nperformed stay in your history — they were run and billed.\n"
          }
        }
      ],
      "description": "Enrol a subject and we re-screen it daily, telling you when something\nNEW appears against it.\n\n⚠ **Each check is a screening and is billed as one.** Enrolling a\nsubject is a standing daily commitment, not a one-off cost — 100\nsubjects is 100 screenings a day. Monitoring is therefore unavailable on\nTEST keys, and each account has a cap on how many subjects it may\nmonitor at once.\n\nEnrolment screens immediately and returns the result. That first result\nis the baseline, which is why an existing designation never arrives as\nan alert: you were told about it when you enrolled.\n\nAlerts are the set difference of listing keys against the previous\ncheck, so a listing that disappears is not an alert, re-ordering is not\nan alert, and a subject that newly MATCHES a years-old listing is.\n"
    },
    {
      "name": "Adverse media",
      "item": [
        {
          "name": "Request adverse media for an existing screening",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/screenings/:id/adverse-media",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "screenings",
                ":id",
                "adverse-media"
              ],
              "query": []
            },
            "description": "Queues an adverse media run for a screening you can read. Idempotent\nwhile a run is live: a second call answers the same `run_id` with\n`created: false` and is not billed. After a `PROVIDER_FAILURE`, pass\n`force: true` to start a new run — a new billable run.\n"
          }
        },
        {
          "name": "Read the adverse media run of a screening",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/screenings/:id/adverse-media",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "screenings",
                ":id",
                "adverse-media"
              ],
              "query": []
            },
            "description": "The run's status (poll `stage` while it is in progress; a run takes a\nfew minutes), its surfaced findings with the reviewer's current\ndecision, and the evidence considered — publisher, title, URL and\ndates. Article text is never returned: open the publisher.\n\nA `PROVIDER_FAILURE` is reported as such, never as \"no findings\".\n"
          }
        }
      ],
      "description": "Optional add-on: whether the press reports anything adverse about the\nsubject — negative news in the last 180 days, or a major past event —\nwith evidence an auditor can open. It is a **separate, asynchronous\njob** requested beside a screening (`adverse_media: true`) or on an\nexisting one, delivered in a few minutes, and **billed per delivered\nrun** on top of the screening. Every finding is something a named\npublisher *reported*: never a RiskMotor conclusion, and never part of\nthe screening's `overall_status` or `highest_severity`.\n"
    },
    {
      "name": "RTU lookups",
      "item": [
        {
          "name": "Request an RTU lookup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "A retry after a timeout must not bill twice."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/rtu-lookups",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "rtu-lookups"
              ],
              "query": []
            },
            "description": "Queues a lookup and answers at once with its position in the queue.\nThe NIT's verification digit and the date are checked here, so a typo\nis refused immediately, costs nothing and never reaches SAT. Send an\n`Idempotency-Key`: a retry then replays instead of queueing (and\nbilling) the lookup twice. Requires `rtu:write`.\n",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"nit\": \"\",\n  \"reference_date\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List RTU lookups",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/rtu-lookups?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "rtu-lookups"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "25",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "offset",
                  "value": "0",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "This account's lookups made with keys of the same environment, newest\nfirst. Items carry no record and no document links — open one for\nthose. Requires `rtu:read`.\n"
          }
        },
        {
          "name": "Retrieve an RTU lookup",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/rtu-lookups/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "rtu-lookups",
                ":id"
              ],
              "query": []
            },
            "description": "The lookup, with SAT's record and the document links once SAT has answered. Requires `rtu:read`."
          }
        },
        {
          "name": "Cancel an RTU lookup that has not been sent",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/rtu-lookups/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "rtu-lookups",
                ":id",
                "cancel"
              ],
              "query": []
            },
            "description": "Only a lookup still `QUEUED` can be cancelled; once it is at SAT it will\nbe answered (and, if SAT answers, billed). Requires `rtu:write`.\n"
          }
        },
        {
          "name": "Revoke an RTU lookup's document links",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/rtu-lookups/:id/revoke-links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "rtu-lookups",
                ":id",
                "revoke-links"
              ],
              "query": []
            },
            "description": "Invalidates every document link issued for this lookup — including\nthose already delivered by webhook — and returns the lookup with new\nones. Use it when a link has leaked. Requires `rtu:write`.\n"
          }
        }
      ],
      "description": "Guatemala only: a taxpayer's record in SAT's Registro Tributario\nUnificado (RTU), looked up by NIT and a reference date (date of birth\nfor a person, date of incorporation for a company), with SAT's own\ncertificate as a PDF and its QR code.\n\n**Asynchronous and slow by nature.** SAT's portal is paced, so a lookup\ntakes from a few minutes to some hours. The request answers `202` at once\nwith a queue position; the result arrives by the\n`rtu_lookup.completed` webhook, or by polling `GET /rtu-lookups/{id}`.\n\n**Billed only when SAT answers** — any answer, including \"NIT not\nregistered\" or \"date does not match\". A lookup SAT could not answer\n(portal down, verification failed) is retried for you and, if it still\nfails, ends `FAILED` and is not billed.\n\n**The document links are the permission.** Whoever holds `pdf_url` or\n`qr_url` can open the taxpayer's record. Show them only to the person\nwho asked, never log them, and revoke them\n(`POST /rtu-lookups/{id}/revoke-links`) if one leaks.\n\n**TEST keys use a sandbox** and never reach SAT. Sandbox NITs, each with\none outcome (any date): `10000011` SUCCESS, `10000038` NIT_NOT_FOUND,\n`10000046` DATE_MISMATCH, `10000054` NIT_INACTIVE, `10000062` — SAT\nunavailable, ends `FAILED`. Any other valid NIT answers NIT_NOT_FOUND.\n"
    },
    {
      "name": "Tax compliance lookups",
      "item": [
        {
          "name": "Request a tax compliance lookup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "A retry after a timeout must not bill twice."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tax-compliance-lookups",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tax-compliance-lookups"
              ],
              "query": []
            },
            "description": "Queues a lookup and answers at once with its position in the queue.\nThe NIT's verification digit is checked here, so a typo is refused\nimmediately, costs nothing and never reaches SAT. Send an\n`Idempotency-Key`: a retry then replays instead of queueing (and\nbilling) the lookup twice. Requires `tax_compliance:write`.\n",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"nit\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List tax compliance lookups",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tax-compliance-lookups?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tax-compliance-lookups"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "25",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "offset",
                  "value": "0",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "This account's lookups made with keys of the same environment, newest\nfirst. Items carry SAT's verdict, the taxpayer's name and each\ncategory's type and count — never the category detail or the PDF\nlink; open one for those. Requires `tax_compliance:read`.\n"
          }
        },
        {
          "name": "Retrieve a tax compliance lookup",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tax-compliance-lookups/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tax-compliance-lookups",
                ":id"
              ],
              "query": []
            },
            "description": "The lookup, with SAT's verdict, every category and the PDF link once SAT has answered. Requires `tax_compliance:read`."
          }
        },
        {
          "name": "Cancel a tax compliance lookup that has not been sent",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tax-compliance-lookups/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tax-compliance-lookups",
                ":id",
                "cancel"
              ],
              "query": []
            },
            "description": "Only a lookup still `QUEUED` can be cancelled; once it is at SAT it will\nbe answered (and, if SAT answers, billed). Requires `tax_compliance:write`.\n"
          }
        },
        {
          "name": "Revoke a tax compliance lookup's PDF link",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tax-compliance-lookups/:id/revoke-links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tax-compliance-lookups",
                ":id",
                "revoke-links"
              ],
              "query": []
            },
            "description": "Invalidates the PDF link issued for this lookup — including one already\ndelivered by webhook — and returns the lookup with a new one. Use it\nwhen a link has leaked. Requires `tax_compliance:write`.\n"
          }
        }
      ],
      "description": "Guatemala only: whether a taxpayer is up to date with SAT\n(Superintendencia de Administración Tributaria), looked up by NIT\nthrough SAT's Verificador Integrado — \"Solvencia fiscal SAT\" in the web\napp. SAT says whether the taxpayer **presents incumplimientos** and, if\nso, which: RTU data pending update, omitted returns (year, period, tax,\nform), books pending authorization, and any category SAT adds later\n(type `OTHER`, with SAT's own label and text). SAT's own report comes\nas a PDF.\n\n**Asynchronous and slow by nature.** SAT answers one lookup every few\nminutes for every customer together, so a lookup takes from a few\nminutes to some hours. The request answers `202` at once with a queue\nposition; the result arrives by the `tax_compliance_lookup.completed`\nwebhook, or by polling `GET /tax-compliance-lookups/{id}`.\n\n**Billed only when SAT answers** — \"up to date\", \"presents\nincumplimientos\" and \"NIT not registered\" alike. A lookup SAT could not\nanswer (portal down, verification failed) is retried before it is\nreported and, if it still fails, ends `FAILED` and is not billed.\n\n**The PDF link is the permission.** Whoever holds `pdf_url` can open\nSAT's report. Show it only to the person who asked, never log it, and\nrevoke it (`POST /tax-compliance-lookups/{id}/revoke-links`) if it leaks.\n\n**A verdict relayed, not a determination.** `has_incumplimientos` is\nSAT's own flag at `sat_checked_at`; RiskMotor relays it unchanged and\ndoes not verify it.\n\n**TEST keys use a sandbox** and never reach SAT. Sandbox NITs, each with\none outcome: `20000014` SUCCESS, up to date; `20000022` SUCCESS with\nincumplimientos (every category, `OTHER` included); `20000030`\nNIT_NOT_FOUND; `20000049` — verification failed, ends `FAILED`. Any\nother valid NIT answers NIT_NOT_FOUND. Sandbox answers carry no PDF.\n"
    },
    {
      "name": "Registro de Detenciones Guatemala searches",
      "item": [
        {
          "name": "Request a Registro de Detenciones Guatemala search",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "description": "A retry after a timeout must not bill twice."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/recede-searches",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "recede-searches"
              ],
              "query": []
            },
            "description": "Queues a search and answers at once with its position in the queue.\nThe name is checked here, so a typo is refused immediately, costs\nnothing and never reaches Registro de Detenciones Guatemala. Send an `Idempotency-Key`: a retry\nthen replays instead of queueing (and billing) the search twice.\nRequires `recede:write`.\n"
          }
        },
        {
          "name": "List Registro de Detenciones Guatemala searches",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/recede-searches?",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "recede-searches"
              ],
              "query": [
                {
                  "key": "screening_id",
                  "value": "",
                  "description": "Only the searches linked to this screening.",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "25",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "offset",
                  "value": "0",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "This account's searches made with keys of the same environment, newest\nfirst. Items carry no registrations — open one for those. Requires\n`recede:read`.\n"
          }
        },
        {
          "name": "Retrieve a Registro de Detenciones Guatemala search",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/recede-searches/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "recede-searches",
                ":id"
              ],
              "query": []
            },
            "description": "The search, with the Registro de Detenciones Guatemala registrations and the caveats once it has answered. Requires `recede:read`."
          }
        },
        {
          "name": "Cancel a Registro de Detenciones Guatemala search that has not been sent",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/recede-searches/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "recede-searches",
                ":id",
                "cancel"
              ],
              "query": []
            },
            "description": "Only a search still `QUEUED` can be cancelled; once it is at Registro de Detenciones Guatemala it\nwill be answered (and, if Registro de Detenciones Guatemala answers, billed). Requires\n`recede:write`.\n"
          }
        }
      ],
      "description": "Guatemala only: the **Registro de Detenciones Guatemala** (the Organismo Judicial's\nRegistro Central de Detenidos), searched by a person's name in parts — first name, second\nname, first surname, second surname. Each answer lists the\nregistrations Registro de Detenciones Guatemala published for that text: document, date of arrest,\ndetention centre, who ordered it and the court, exactly as Registro de Detenciones Guatemala wrote\nthem (placeholders such as `\"No Porta\"` or `\"-\"` included).\n\n**Read the caveats before relying on a result.** Every answered search\ncarries `caveats` — always all four, records found or not:\n`TEXT_NOT_PEOPLE` (Registro de Detenciones Guatemala matches text, not people: \"JUAN\" also finds\n\"JUANA\", and a registration may belong to someone else with the same\nname), `NO_RECORDS_NOT_CLEAN` (no registrations is not a clean record:\na misspelling or a missing part can miss them), `DETENTION_SNAPSHOT`\n(a registration is a detention on its date; it says nothing about\ntoday) and `NOT_CRIMINAL_RECORD` (detentions, not convictions). Show\nthem to whoever reads the result.\n\n**People only, and never a guess.** Send the parts you know for certain\nand leave the others out: every part you send must appear in the\nregistration. We never split a full name for you — a wrong split\nreturns a reassuring \"no records\" for the wrong text.\n\n**Asynchronous.** Registro de Detenciones Guatemala answers one search at a time for everyone, so\nthe request answers `202` with a queue position and an estimate in\nminutes; the result arrives by the `recede_search.completed` webhook,\nor by polling `GET /recede-searches/{id}`. A Registro de Detenciones Guatemala search never\nchanges a screening's `overall_status`.\n\n**Billed only when Registro de Detenciones Guatemala answers** — `RECORDS_FOUND` and `NO_RECORDS`\nalike. A search Registro de Detenciones Guatemala could not answer ends `FAILED` and is not\nbilled; nor is one refused or cancelled.\n\n**When the source itself is down.** If the Organismo Judicial's site stops answering, new\nLIVE searches are still accepted but wait in our queue rather than failing; `queue.source`\nand, while it waits, the search's `source` say `available: false` and since when. They are\nsent by themselves once it is back.\n\n**TEST keys use a sandbox** and never reach Registro de Detenciones Guatemala. Sandbox names,\nfirst name `PRUEBA` and first surname: `REGISTROS` → RECORDS_FOUND with\ntwo fabricated registrations, `SINREGISTROS` → NO_RECORDS,\n`NODISPONIBLE` → Registro de Detenciones Guatemala unavailable (ends `FAILED`), `ILEGIBLE` →\nextraction failed (ends `FAILED`). Any other valid name answers\nNO_RECORDS.\n"
    }
  ]
}
