Skip to content
← ZetexaSandbox open: all eight checks, test numbers for every outcome, no card needed

Docs

Every answer is evidence

Every check returns the network’s answer, a request ID for your audit trail, and a reason code when the network can’t answer: on Wi-Fi, on some roaming connections, or where the operator doesn’t offer that check. Your risk engine decides: allow, step up, or hold. We never send an OTP; your own step-up handles the misses.

POST /v1/sim-swap/check{"id": "chk_8f2a…","status": "completed","result": {"swapped": true},"reason": null}not_on_mobile_data · freeverified · billed

Integration

Four steps to production

  1. 01

    Check at the risky moments

    Onboarding, new-device login, payout, password reset. Send every number; do not pre-filter by operator. Unsupported calls are free.

  2. 02

    Set a client timeout

    Give the silent device step a few seconds on mobile data, then treat it as a timeout and move on.

  3. 03

    Branch on the answer

    One switch covers every case in the table below: allow, step up, or hold.

  4. 04

    Hand off to your step-up

    Review, a second factor, or your own OTP provider. Log our request ID beside it for your audit trail.

Reference

Reason codes

CodeWhat happenedBilledNext move
verifiedThe operator confirmed the SIM holds this numberYesContinue. No code needed.
not_verifiedThe operator answered: the number does not match this SIMYesTreat as risk: a borrowed or spoofed number. Step up and flag for review.
sim_swap.recent = trueThe SIM changed inside the window you asked aboutYesPossible SIM swap takeover. Hold the payout or reset and send to review.
device_swap.recent = trueThe number moved to a new handset inside your windowYesPossible stolen session. Step up before any high-value action.
number_recycling.changed = trueThe number changed hands since your customer registered itYesBlock access to the old account and start recovery with the real owner.
kyc_tenure.days < 30The number was activated recentlyYesPossible burner. Add checks before credit, payouts or promotional rewards.
unsupported_networkThis operator does not offer this checkNoHand off to your own step-up.
not_on_mobile_dataThe device was on Wi-Fi, so the network could not see itNoAsk the user to switch to mobile data and retry once, or hand off to your step-up.
timeoutThe device step did not finish in timeNoHand off to your own step-up.

Example

The verdict, in code

verdict.jsJavaScript
const r = await zetexa.checks.result(id);
if (r.sim_swap?.recent || r.device_swap?.recent)
  return hold("possible_takeover");    // billed
switch (r.reason ?? r.status) {
  case "verified":
    return continueSignup();
  case "not_verified":
    return review("number_mismatch");  // billed
  case "unsupported_network":
  case "not_on_mobile_data":
  case "timeout":
    return yourStepUp(phone);          // free
}

Good to know

  • Spoofed numbers fail the check.
  • Roaming depends on the home operator.
  • Call forwarding does not affect the result.
  • eSIMs work like physical SIMs.
  • UPI Silent Verification runs alongside your own SMS, as NPCI requires.
  • Each check runs where the operator offers it; the coverage lookup tells you per number.

Full API reference, SDKs and test numbers come with sandbox access.

{ }HOLDTEST

Get the API reference and sandbox

SDKs for Node, Python, Go and Java, plus test numbers for every outcome.