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

Fraud check · Stops stolen sessions

Device Swap API: know when the handset changed

A Device Swap check asks the mobile operator whether a phone number moved to a different handset within a window you choose, so you can step up a login or high-value action from a device your customer has never used.

The fraud it stops

Stolen sessions

Attackers who move a victim’s number onto their own handset, or who hijack a session on a new phone, look legitimate to most risk engines: right number, right password. The network knows the handset changed.

  • Logins from a device that has never held this number
  • Session hijacking after a phone is stolen or cloned
  • High-value actions right after a handset change
The question it answers

Did the number move to a new handset?

Shows that a number has just moved to a device your customer has never used, so a stolen session gets stepped up before anything valuable happens.

When to call it

Where Device Swap fits in your flow

New-device login

Check when a login comes from a device you have not seen for this account.

High-value action

Check before a transfer, card provisioning or limit change.

Session renewal

Check when a long-lived session is refreshed after a gap.

Account changes

Check before changing the email, phone number or password on file.

How it works

Asked of the network, answered by the operator

  1. 01

    Your server sends the phone number and a time window.

  2. 02

    Zetexa calls the subscriber’s operator through the CAMARA Device Swap API.

  3. 03

    The operator answers whether the number moved to a new handset in that window.

  4. 04

    Your risk engine steps up or allows. Unsupported numbers return a reason code and are not billed.

Each check runs where the mobile operator offers it, through one contract. See coverage · a coverage lookup tells you per number before you call.

Reason codes

What comes back, and what to do next

CodeWhat happenedBilledNext move
device_swap.recent = trueThe number moved to a new handset inside your windowYesPossible stolen session. Step up before any high-value action.
unsupported_networkThis operator does not offer this checkNoHand off to your own step-up.

The full table is in the docs.

Example

A Device Swap call

POST /v1/device-swap/checkIllustrative
{
  "phone_number": "+447700900123",
  "max_age_hours": 72
}
ResponseJSON
{
  "api": "device_swap",
  "result": { "swapped": true },
  "fallback_recommended": false
}
// new handset: step up before the transfer

Good to know

  • Runs server to server, with no step on the customer’s device.
  • Every answer carries a request ID for your audit trail.
  • Unsupported numbers and unanswered checks are not billed.
  • Zetexa never sends OTPs. When the network can’t answer, your own step-up takes over.

Field names are illustrative. The full API reference, SDKs and test numbers come with sandbox access.

FAQ

Device Swap: questions, answered

What is the difference between SIM Swap and Device Swap?

SIM Swap tells you the SIM card behind a number changed. Device Swap tells you the number moved to a different handset. A fraudster can trigger either, so many teams call both before high-value actions.

Does Device Swap use my own device fingerprint?

No. The answer comes from the mobile operator, independent of cookies or device fingerprinting in your app, so it still works when an attacker spoofs device signals.

Should I block when the handset changed?

Usually not. Customers upgrade phones. Use a handset change as a reason to ask for a stronger factor or to review, especially before money moves.

Where is Device Swap available?

Device Swap is offered by fewer operators than SIM Swap. Check the coverage page, and use the coverage lookup per number before calling.

{ }HOLDTEST

Test Device Swap in the sandbox

Test numbers for every outcome, free and never billed. Pay per answered check when you go live.