Number Verification
Confirm a phone number over its mobile data session, with no SMS code and no password. Integrate by our SDK or directly over HTTP.
Overview
Network-based Number Verification (NV1) proves a number by the mobile data session it is used from, not by a one-time code.
The subscriber's device reaches the authorization endpoint over cellular, the operator network confirms the data session's source address belongs to that number, and a short-lived authorization code comes back. Your backend redeems it and calls CAMARA verify, which answers true or false. You can integrate it two ways, both sharing the same backend flow: directly over HTTP, or with the Android SDK for the device step.
How it works
Three moves: your backend starts the request, the subscriber's device proves the number over mobile data, your backend finishes it.
Web integration
Four calls. Steps 1, 3 and 4 are backend to backend; step 2 runs on the device over mobile data. Read exact endpoints from the discovery document rather than hardcoding paths. Throughout, $API is your deployment's base URL and $CLIENT_ID/$CLIENT_SECRET your confidential client.
1. Push the request (PAR)
Create a PKCE pair and a random state, then push the request with the number as login_hint. Keep the code_verifier for step 3.
2. Authorize on the device (over mobile data)
Hand the device the authorization URL built from the request_uri. The device opens it over cellular and reads the redirect without following it.
This step must leave from the subscriber's handset over mobile data, because that is what the operator correlates with the number. The Android SDK does exactly this; on another client you bind the request to the cellular network and read the 302 without following it.
3. Redeem the code (token)
4. Verify the number
Sibling operation: device-phone-number
When you need the number itself rather than a yes or no, call device-phone-number under the number-verification:device-phone-number:read scope.
Android SDK
The PAiCore Number Verification SDK handles the one step that must run on the device, the mobile-data authorization, and nothing else. Your backend keeps the same two responsibilities as the web flow (start and finish); the SDK never holds a secret and never persists or logs the number.
Add it
minSdk 24. Two normal permissions (ACCESS_NETWORK_STATE, CHANGE_NETWORK_STATE) are granted at install, with no runtime prompt.
Verify a number
Implement Nv1Backend with two calls to your own server (the web flow's start and finish), point the SDK at the Authorization Server, then call verifyNumber.
Artifact coordinates, the dependency-free reference backend and the device-side details are on the Android SDK page.
Scopes & purposes
| Scope | Operation | Returns |
|---|---|---|
number-verification:verify | POST /verify | devicePhoneNumberVerified: true or false |
number-verification:device-phone-number:read | GET /device-phone-number | devicePhoneNumber: the device's number |
Send one data-privacy purpose, from those your client holds:
| Purpose | Typical use |
|---|---|
dpv:FraudPreventionAndDetection | Confirm the number at a sign-in, payment or transfer. |
dpv:IdentityVerification | Bind the number to an identity during onboarding or KYC. |
dpv:IdentityAuthentication | Re-confirm the number as an authentication factor. |
Send exactly one dpv: purpose alongside the functional scope. An unauthorized purpose, or more than one, is rejected with invalid_scope.
Responses & errors
| Where | Signal | Meaning & what to do |
|---|---|---|
| verify 200 | devicePhoneNumberVerified: true | The session belongs to the number. Proceed. |
| verify 200 | devicePhoneNumberVerified: false | It does not. Treat as not verified; decide the fallback as a product choice. |
| authorize | error=access_denied | The network could not confirm the number over this session. Relayed so you can fall back. |
| authorize | error=login_required | The operator needs an interactive step this silent path cannot do. Relayed for fallback. |
| PAR / token | invalid_scope | The purpose is not one the client holds, or more than one was sent. |
| PAR / token | invalid_client | Client authentication is wrong. Check id, secret and redirect URI. |
| verify | 403 / 404 | Token lacks the scope or customer not subscribed (403); wrong path or version (404, use /v1). |
When the number cannot be confirmed over mobile data, the platform returns an honest negative or error. Trying an SMS code or another method is your product decision, not a platform default.